Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix utint tests and readme #94

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async def get_all_links():
driver_url = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.additional_capability(
{"goog:chromeOptions": {"extensions": [], "args": ["--headless"]}}
Expand Down Expand Up @@ -216,7 +216,7 @@ def __setup():
remote = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.page_load_strategy("normal")
.addtional_capability(
Expand Down Expand Up @@ -279,7 +279,7 @@ class TestObject:
remote = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.additional_capability(
{"goog:chromeOptions": {"extensions": [], "args": ["--headless"]}}
Expand Down Expand Up @@ -326,7 +326,7 @@ class TestObject:
remote = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.additional_capability(
{"goog:chromeOptions": {"extensions": [], "args": ["--headless"]}}
Expand Down
2 changes: 1 addition & 1 deletion sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async def get_all_links():
driver_url = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.page_load_strategy("normal")
.additional_capability(
Expand Down
3 changes: 2 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ pytest
pytest-xdist
selenium
coverage
tox
tox
pytest-asyncio
2 changes: 1 addition & 1 deletion tests/feature/test_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def setup(self):
remote = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.additional_capability(
{"goog:chromeOptions": {"extensions": [], "args": ["--headless"]}}
Expand Down
2 changes: 1 addition & 1 deletion tests/feature/test_sync_and_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __setup():
driver_url = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.additional_capability(
{"goog:chromeOptions": {"extensions": [], "args": ["--headless"]}}
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_async_scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def __setup():
driver_url = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.additional_capability(
{"goog:chromeOptions": {"extensions": [], "args": ["--headless"]}}
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_object_scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __setup():
remote = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.additional_capability(
{"goog:chromeOptions": {"extensions": [], "args": ["--headless"]}}
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_sync_scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __setup():
driver_url = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.additional_capability(
{"goog:chromeOptions": {"extensions": [], "args": ["--headless"]}}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_by.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __setup():
driver_url = "http://127.0.0.1:9999"
capabilities = (
CapabilitiesBuilder()
.browser_name("webdriver")
.browser_name("chrome")
.accept_insecure_certs(True)
.additional_capability(
{"goog:chromeOptions": {"extensions": [], "args": ["--headless"]}}
Expand Down
Loading