What about the error ?
De : seleniu...@googlegroups.com <seleniu...@googlegroups.com>
De la part de Huus Huusk
Envoyé : vendredi 13 janvier 2023 04:28
À : Selenium Users <seleniu...@googlegroups.com>
Objet : [selenium-users] Find element by text
HI i want to find element by the text inner span class. driver.find_element_by_css_selector("span[class='input_group_button']")
driver.findElement(By.partialLinkText("Write"));
these 2 method not working can u guys help me?
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
selenium-user...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/6ddf45ab-e7dc-4a2c-9a92-7f2e0dc0c899n%40googlegroups.com.
Yes you can
· By.XPath
o The entire text "//button[text()=’what-you-search’]"
o A part of the text "//span[contains(text(), ‘what-you-search’]"
De : seleniu...@googlegroups.com <seleniu...@googlegroups.com>
De la part de Huus Huusk
Envoyé : vendredi 13 janvier 2023 10:03
À : Selenium Users <seleniu...@googlegroups.com>
Objet : Re: [selenium-users] Find element by text
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/cdde3733-8980-4bab-9ac1-aba9400de2a0n%40googlegroups.com.
I don’t know Python
Add Python in the object of the mail, to find specialists 😊
I found this :
Python typeerror: ‘str’ object is not callable Solution - DEV Community 👩💻👨💻
De : seleniu...@googlegroups.com <seleniu...@googlegroups.com>
De la part de Huus Huusk
Envoyé : vendredi 13 janvier 2023 10:17
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/707b7bbd-7416-48da-a757-b85ce10d4c9cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ee6ec4377566414f9b3288e4cc972c2f%40cph.be.