T
T
Tula Electronic Samovar2021-12-07 00:11:26
Python
Tula Electronic Samovar, 2021-12-07 00:11:26

When using the Selenuim driver in Python, some methods in PyCharm are displayed with a strikethrough - what does this mean?

JM82SEl.png
Some methods crosses out - what does it mean?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ScriptKiddo, 2021-12-07
@vcomp71

This means that this feature is deprecated.

img
61ae7e67b07b2938762146.png

In Selenium 4, element selection is done like this:
from selenium.webdriver.common.by import By
element  = driver.find_element(By.XPATH,  xpath)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question