webdriver - Chrome Element clicking problems, pageFactory framework solution -


i having issues chrome throwing element stale, element not click able other element receive click. question more has pagefactory framework.

given chromedriver has these issues need rewrite selectors offsets , other functionality make able click able correctly.

should make new xxxxpage.class's chrome? or should incorporate chrome fixes current xxxxpage class, knowing work in firefox?

or can make copy of "signin" function example chrome fixes.

basically best way of keeping final test code clean, these changes?

thanks

from perspective page object should describe page elements , not should depends concrete driver implementation. suggest implement helper common class contains common methods , specific classes contains specific implementation per browser. in page object call 1 common function call required driver class/method. in other words encapsulate specific driver behaviour in specific classes , common class decide specific class called.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -