-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
levi-rs
committed
May 7, 2017
1 parent
fe6bb19
commit fc4996d
Showing
13 changed files
with
160 additions
and
2,404 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,4 @@ deploy: | |
on: | ||
branch: master | ||
tags: true | ||
python: '3.4' | ||
python: '3.6' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Levi Noecker <levi-rs@users.noreply.github.com> | ||
levi-rs <levi.noecker@rewardstyle.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
CHANGES | ||
======= | ||
|
||
* Switch version management to PBR | ||
|
||
0.1.0 | ||
----- | ||
|
||
* Add find\_one method to waiter | ||
|
||
0.0.8 | ||
----- | ||
|
||
* Use official Python 3.6 for testing | ||
* Update README to include by imports | ||
|
||
0.0.7 | ||
----- | ||
|
||
* Fix PyPI deployment | ||
* Add importable By types to main package | ||
|
||
0.0.6 | ||
----- | ||
|
||
* Add find\_elements to waiter | ||
|
||
0.0.5 | ||
----- | ||
|
||
* Add find\_write to waiter | ||
* Add Gitter badge | ||
* Fix copy/paste error | ||
|
||
0.0.4 | ||
----- | ||
|
||
* Update Development Status Classifier | ||
* Update README with example | ||
* Update badges | ||
|
||
0.0.3 | ||
----- | ||
|
||
* Add find\_element function | ||
* Add initial find\_element function | ||
* Add docs dir | ||
* Convert README from md to rst | ||
* Fix long description | ||
* Fix syntax error from copy/paste | ||
* Add long description | ||
* Update setup.py classifiers | ||
* Update README badge | ||
|
||
0.0.2 | ||
----- | ||
|
||
* Switch .travis.yml to production deployment | ||
* Try using 3.6.0b1 | ||
* Add \_\_init\_\_ to tests/ | ||
* Update travis.yml | ||
* Add Versioneer docs | ||
* Switch to TravisCI | ||
* Add initial structure | ||
* Initial commit | ||
* Initial commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
from explicit import waiter | ||
from selenium import webdriver | ||
from selenium.webdriver.common.by import By | ||
|
||
driver = webdriver.Chrome() | ||
|
||
try: | ||
driver.get("https://github.com/this/doesntexist") | ||
|
||
username_field = waiter.find_element(driver, "login_field", By.ID) | ||
username_field.click() | ||
username_field.send_keys("my_username") | ||
|
||
password_field = waiter.find_element(driver, "password", By.ID) | ||
password_field.click() | ||
password_field.send_keys("my_password") | ||
|
||
login_button = waiter.find_element(driver, "input.btn-primary", By.CSS_SELECTOR) | ||
login_button.click() | ||
finally: | ||
driver.quit() | ||
|
||
|
||
from explicit import waiter | ||
from selenium import webdriver | ||
from selenium.webdriver.common.by import By | ||
|
||
driver = webdriver.Chrome() | ||
|
||
try: | ||
driver.get("https://github.com/this/doesntexist") | ||
|
||
waiter.find_write(driver, "login_field", "my_username", by=By.ID) | ||
|
||
waiter.find_write(driver, "password", "my_password", by=By.ID, send_enter=True) | ||
|
||
finally: | ||
driver.quit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.