hou*_*ack 7 python webdriver pageobjects
我正在阅读Webdriver项目网站上的页面对象和设计模式,并遇到了pagefactory.它看起来不像Python API的Webdriver包含pagefactory.这是真的?
我认为在Python中没有任何Java注释(@Find(By.xxx)等)的等价物.但这并不意味着您不能使用PageObject模式.
你可以在这里找到如何做的好例子:https://github.com/SeleniumHQ/selenium/blob/master/py/test/selenium/webdriver/common/google_one_box.py