Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98500

Selenium text attribute returns only a partial text

$
0
0

Does anyone know why I get this :

Z-In...Instead of Z-Index 1

Here is my code :

vid = WebDriverWait(browser, 10).until(EC.element_to_be_clickable((By.XPATH,"//div[contains(@title,'Mytitle')]/div[1]/div[3]/span"))).text

print(vid)

Here is the HTML:

Here is the HTML


Viewing all articles
Browse latest Browse all 98500

Latest Images

Trending Articles



Latest Images