python - What is the name of the page element that reads "+ Add telephone" on the Google Hangouts start page? -


i'm looking name of page element reads "+ add telephone" on google hangouts start page, purpose of plugging selenium python api's webdriver.firefox().find_element_by_name() command.

alternatively, element id work, know there find_element_by_id() command.

that element not have name. go xpath contains function , use find_element_by_xpath

//div[contains(text(),'add telephone')] 

however, it's idea not use google kind of testing. that's kind of trap. specially selenium


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -