Selenium Java - Actions Class
Identify the error in the following code snippet:
Actions actions = new Actions(driver); actions.contextClick().perform();
Actions actions = new Actions(driver); actions.contextClick().perform();
contextClick() without specifying an element or moving to one means the right-click happens at current mouse location, which may be invalid or unexpected.contextClick() to specify where to right-click.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions