Home > other >  Presence_of_element_located problem
Presence_of_element_located problem

Time:11-03

Import the selenium. Webdriver. Support the as EC

EC presence_of_element_located error,

Prompt Module '. The selenium webdriver. Support has no 'presence_of_element_located member

Novice small white, shameless!

CodePudding user response:

Selenium has been installed

CodePudding user response:

The from the selenium. Webdriver. Support the import expected_conditions as EC

CodePudding user response:

Two methods of import:
Method one: import the selenium. Webdriver. Support. Expected_conditions as EC
Method 2: from the selenium. Webdriver. Support the import expected_conditions as EC (recommend this method, compare common)
Your problem is that no import expected_conditions module, the other can look at the from... The import... And the import... The difference between two kinds of guide package
  • Related