Is there anyway by which I can automate the following steps in Selenium / WebDriver
If the bookmarklet is not accessible as it is part of the browser/bookmark toolbar, is there a way in which I can inject the javascript into the page and have it execute using Java and Eclipse? |
Webdriver test = new FireFoxDriver();
test.get("URL");
Actions bookmark=new Actions(test);
bookmark.contextClick(test.findElement(Location Strategy))).sendKeys("m").build().perform();
HTH!!
Let me know if you face any issues on this.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/N40AZiJ_6i8J.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.