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

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -