Selenium Python Tutorial #14 - How to Find Element By ID or Name

  Рет қаралды 38,121

Software Testing Mentor

Software Testing Mentor

Күн бұрын

Пікірлер: 29
@anshchopra8947
@anshchopra8947 11 ай бұрын
help me with this error as only website opens and send keys are not working AttributeError: 'WebDriver' object has no attribute 'find_element_by_id'
@shubhampandey986
@shubhampandey986 9 ай бұрын
import this and insted of using that use find_element(BY.ID,' value' ) from selenium.webdriver.common.by import By
@simrahsaif
@simrahsaif 2 ай бұрын
thank u soo much u made my life so much easier
@undefined36
@undefined36 2 жыл бұрын
Hello, Suddenly webdriver_manager stopped working and posted an error, no webdriver_manager no such module ChromeDriverManager. How to get rid of it. Please help me. I uninstalled python and pycharm entirely and reinstalled but they were no use.
@timecontinuumkerkar6968
@timecontinuumkerkar6968 2 жыл бұрын
if you see the object/instance that is created of the demo class. it is marked by a warning. If you hover over it, then it tells you to add spaced lines for the function and object created to work properly. remember to clear the warning to make your code cleaner and efficient.
@anomevalijan8962
@anomevalijan8962 2 жыл бұрын
Thank you for all valuable tutorials
@softwaretestingmentor
@softwaretestingmentor 2 жыл бұрын
Glad you like them! Keep watching for more videos and tutorials.
@JaMi-d7m
@JaMi-d7m 9 ай бұрын
i try to automate a page that dynamicaly changes id to the buttons every time i log in and sometimes it has captcha . can you make a video to show a way to avoid these situations?
@manavshah6860
@manavshah6860 Жыл бұрын
I was working on your solution and I found that new version of selenium getting the error for find_element_by_id method that no attribute. I have read the documentation and found the new method find_element. if any one have solution and questions for above method how to used please let me know.
@mounimouni7404
@mounimouni7404 Жыл бұрын
send_keys function was not working sir then what should i do ?
@kurtpogi1011
@kurtpogi1011 Жыл бұрын
what do you mean not working? you might using the wrong ID?
@fulldog5468
@fulldog5468 3 жыл бұрын
Please, subtitles option does not appear. Transcription does not work. Thanks Manish
@sudharshanharan453
@sudharshanharan453 Жыл бұрын
On this case i am getting the Attribute error as AttributeError: 'NoneType' object has no attribute 'send_keys' Can you please guide me for this. I refered other classes as well for resolving this but i am not able to resolve
@vijaypratap6698
@vijaypratap6698 Жыл бұрын
Hi sir I am facing one issue i am getting error attribute error web driver object has no attribute find element by xpath pr id or name
@infinity8288
@infinity8288 Жыл бұрын
#files to import from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC #selector to run wait = WebDriverWait(driver, 10) element = wait.until(EC.visibility_of_element_located((By.NAME, "firstName"))) element.send_keys("Hello, world!")
@abhishekranjan1721
@abhishekranjan1721 2 жыл бұрын
Hii, I am getting only two options: 1. find_element(self,by,value) 2.find_elements(self,by,value) Please help me with that
@v_r3380
@v_r3380 2 жыл бұрын
from selenium.webdriver.common.by import By driver.find_element(By.ID, 'some_ID')
@lofijedi
@lofijedi 2 ай бұрын
'Executible_path' is deprecated in selenium 4, i instead used "driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))" Also, find_element_by_id is deprecated i instead used "driver.find_element_by_id('ID YOU WANT').send_keys('Keys to send')"
@hardeepsingh-or2dz
@hardeepsingh-or2dz 2 жыл бұрын
Locating element syntax has been changed please refer to new locators
@restoreupscale1521
@restoreupscale1521 Жыл бұрын
Yeah, and tbh I find that change annoying.
@dougm118
@dougm118 Жыл бұрын
@@restoreupscale1521 sign of the times; things change regularly with open source code and third party libraries. People refactor for good reason; unfortunately it causes previous training to become outdated which can be hard on a student just trying to follow along. I really know of no great way these days to train, without trying things, failing forward, googling, and reading the updated docs.
@ParthivShah
@ParthivShah 2 жыл бұрын
Thanks.
@softwaretestingmentor
@softwaretestingmentor 2 жыл бұрын
You're welcome. Keep watching for more videos!
@bogart047
@bogart047 6 ай бұрын
on the web page id of element always must be unique
@djonatasborges7419
@djonatasborges7419 3 жыл бұрын
Subtitles please!
@marekpuskas1004
@marekpuskas1004 3 жыл бұрын
Please subtitles :-(
@infinity8288
@infinity8288 Жыл бұрын
driver.find_element_by_name("firstName").send_keys("John") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'send_keys'
@pankajgahlot2993
@pankajgahlot2993 Жыл бұрын
the functions "find_element_by_*" are deprecated
@dougm118
@dougm118 Жыл бұрын
He covers the updated method in tutorial #20
Selenium Python Tutorial #15 - How to Find Element By XPath
5:50
Software Testing Mentor
Рет қаралды 55 М.
Selenium Python Tutorial #25 - How to handle Hidden Elements in Selenium
17:54
Software Testing Mentor
Рет қаралды 28 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
2 |  Interacting With Elements | Selenium Python
25:08
Automation Step by Step
Рет қаралды 19 М.
How To Inspect Hidden / Disappeared Elements In Just One Click
8:52
Naveen AutomationLabs
Рет қаралды 65 М.
Selenium Python Tutorial #20 - FindElements | How to Find Elements List
10:21
Software Testing Mentor
Рет қаралды 20 М.
Different Locators In Selenium WebDriver || Best locator to use
44:28
Naveen AutomationLabs
Рет қаралды 131 М.
Python Selenium Tutorial #3  - Pagination & Saving Data To JSON File
15:46
Selenium Python Tutorial #30 - How to handle Auto Suggestion in Selenium
20:31
Software Testing Mentor
Рет қаралды 16 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН