Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <input class="input--full ng-pristine ng-empty ng-invalid ng-invalid-required ng-touched" type="text" name="username" ng-model="loginCtrl.username" required="" autocapitalize="off" autocorrect="off" autofocus="">
- import json
- from selenium import webdriver
- driver = webdriver.Chrome('/usr/bin/chromedriver')
- url_login = 'https://localhost:8443/manage/hotspot/'
- username = driver.find_element_by_id("password")
- password = driver.find_element_by_id("password")
- username.send_keys("username")
- password.send_keys("password")
- driver.find_element_by_name("submit").click()
- username = driver.find_element_by_name("username")
Add Comment
Please, Sign In to add comment