selenium - How to disable Reader View in Firefox using webdriver -


whenever run test in firefox, 'reader view' message box pops in address bar. pop hides element view, webdriver throwing "elementnotvisibleexception. pop displayed pages in languages other english. disabled reader view option. not me much.any thoughts on how overcome issue appreciated.

thanks

something this:

@before public void setup() throws exception {     firefoxprofile firefoxprofile = new firefoxprofile();     firefoxprofile.setpreference("reader.parse-on-load.enabled",false);     driver = new firefoxdriver(firefoxprofile);     baseurl = "http://google.com";     driver.manage().timeouts().implicitlywait(30, timeunit.seconds); } 

should it.


Comments

Popular posts from this blog

xslt - Substring before throwing error -

c# - Call C++ Native DLL in Managed Code -

Google Cloud Bigtable Durability/Availability Guarantees -