????Selenium?????????????????????????????PageObjects???????PageObject???????????????е?????????????????????????????????????????????????????????????????????????????????????????t???????????????????????£?

(1)???=???

(2)????????????=??????

(3)???????=??????

PageObject??????????С??UI???????????????????????????????????????????????????????????????????y??????????????????????????????????????? ??wait????sleep??????wait????sleep??????????????????????Thread.sleep()???????????wait?????????sleep??

wait???–??????????????????????????д???? ???–??WebDriver???DOM????????????????????????????£?????????0??

sleep??д????Thread.sleep()??????????????????????????????????????????????? ???Firebug???????????firefox????????????????????firebug????????????????????????????????????????????????μ?firebug???????е??????????????????????????firebug??????

??showFirstRunPage????н?False????????£?FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("extensions.firebug.showFirstRunPage"?? false)??

????Selenium????????????????????????????????????ó??????????????????PageObject????????????????????????????????????