Right click

Hello,
Is there any way to make a “right click” in Web Interaction or in FirefoxUtil (AF Utility) @AnotherFraudUser ?
And how can we use “Execute Javaspcript” in FirefoxUtil (AF Utility) because I can’t seem find a howto ?
Thank you

Hi @Barod,

here an example for execute javascript e.g. changing the color the background
document.body.style.backgroundColor = ‘#FF0000’;
grafik

selenium example.knwf (8.2 KB)

for the right click - i think currently not possible / alternative might be a javascript as well

Thank you for your reply @AnotherFraudUser ,
How can I implement it with Javascript ? I found this Js for the right click but I don’t know if it can actually be used inside the node :
Actions actions = new Actions(driver);
WebElement elementLocator = driver.findElement(By.id(“ID”));
actions.contextClick(elementLocator).perform();

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.