#5 How To Work With WebElements In Selenium With Python- SendKeys, Click, Clear,GetAttribute etc.

preview_player
Показать описание
In this video, we will talk about how to interact with WebElements in Selenium with Python. We have used Selenium locators here which finds the elements and return as WebElement and then we can perform any action based on element.
In this video, we have used below methods
is_enabled()
is_displayed()
clear()
get_attribute("")
value_of_css_property("")
send_keys()
click()

Prerequisite - Python Basics

Selenium With Python Series

Official Link

Connect with us:
Рекомендации по теме
Комментарии
Автор

Thank you for your videos bro ...keep going ...you videos are good and clean to understand...and also short simple videos dividing to topic makes easy for us ...

saikrishna.b
Автор

Thank you Mukesh !! It was nicely explained !!

sujathik
Автор

Good explanation...thank you for the video

thennarasuthen
Автор

hi mukesk sir, I tried send.keys() but I am getting this AttributeError: 'str' object has no attribute 'send_keys' kindly tell me how to fix it

shriyanair
Автор

Hi mukesh sir, I an not getting the methods after dot in pycharm for example send_keys(), click(). Please suggest me on this.

utsavsharma
Автор

Hey there! Do you know how to pass by this error?:
Traceback (most recent call last):
File "C:\Users\zzz\SeleniumScripts\WebElements.py", line 5, in <module>
driver = webdriver.Chrome(service=s)
TypeError: __init__() got an unexpected keyword argument 'service'

seasidestory
Автор

I tried giving the code u compiled but also its just opening the firefox not the websites which are given..what to do sir??

adithya
Автор

Hi Mukhesh,

I did the same program like what you did but I am getting error as:"driver = webdriver.chrome(service=l)
TypeError: 'module' object is not callable".

Could you please help

VK_
Автор

hello, my keys are not importing and i cannot find username.isenabled function in my pycharm

nischaysinha
Автор

can you provide the source code please?

believers_
join shbcf.ru