Working With Input box/Text Box In Python Selenium In Hindi

Python Selenium

Working With Input box/Text Box In Python Selenium In Hindi – Is Post Me Ham Input Box Or Text Box Ko Dekhne Wale Hai Or Inke Example Bhi Dekhte Hai |

Yadi Aapne  HTML Full Course  And CSS Full Course And Python Full Course And PHP Full Course Nhi Read Kiya Hai To Aap Vah Bhi Read Kar Sakte Hai |

Working With Input box/Text Box In Python Selenium

Aapne Dekha Hoga Ki Jab Ham Koi Online Website Par Form Fill Karte Hai, To Waha Par Ek Form Milta Hai, Jisme Input Box Or Text Box Bhi Hote Hai, Aaj Ham Unhe Hi Selenium Ki Help Se Automation Karke FIll Karne Wale Hai |

Sabse Pahle Jante Hai, Ki Input Box Or Text Box Me Kiya Difference Hota Hai, or Fir Ham In Dono Automation Ki Help Se Fill Karenge |

Aap Jo Upper Image Dekh Rahe Hai, Usme Upper Wale 2 Column Input Box Hai Or Niche Wala Message Text Box Hai, Inhe Hi Ham Input Or Text Box Kahte Hai Or Ab Ham Is Form Ko Automation Ki Help Se Fill Karenge |

Sabse Pahle Hame Is Form ke Input Box Or Text Box Ke name,xpath,class_name,id Etc. Chahiye To Chaliye Start Karte Hai, Iske Example Ko |

Jab Ham name,xpath,class_name,id Nikal Jab Ham Data Send Karte Hai, Kisi Input Box Ya Fir Text Box Me To Hame send_keys() Functions Ka Istemal karna Padta Hai |

Jab Ham Button Par Click Karate Hai, To Hame click() Function Ka Istemal karna Padta Hai |

Example:

from selenium import webdriver
import time 


driver = webdriver.Chrome(executable_path="chromedriver.exe")
driver.get("https://careeraddition.com/contact/")

name = driver.find_element_by_name("name")
name.send_keys("Danish")

email = driver.find_element_by_name("email")
email.send_keys("[email protected]")

message = driver.find_element_by_name("message")
message.send_keys("This is msg")

btn = driver.find_element_by_id("btn")
btn.click()

time.sleep(2)
driver.quit()

Aap Upper Diye Gaye Program Ko Dekh Sakte Hai, Ye Program CareerAddition Website Par Jakar Automatic Form Ko Fill Kar Dega Or Submit Button Par Click karke Submit Bhi Kar Dega |

Friends Mujhe Umeed Hai Ki Aapko Input Box And Text Box In Selenium  Ke Bare Mai 100% Jankari Ho Gayi Hogi | Agar Aapko Learn Karne Main Dikkat Aa Rahi Hai To Aap Mere Se Contact Kar Sakte Hai |

Leave a Reply

Your email address will not be published.