Karim shoair commited on
Commit ·
f8ee84c
1
Parent(s): 1fe694e
tests: Add a test for using `stealth` and `real_chrome` arguments together
Browse files
tests/fetchers/async/test_dynamic.py
CHANGED
|
@@ -56,6 +56,7 @@ class TestDynamicFetcherAsync:
|
|
| 56 |
{"disable_webgl": True, "hide_canvas": False},
|
| 57 |
{"disable_webgl": False, "hide_canvas": True, "disable_resources": True},
|
| 58 |
{"stealth": True}, # causes issues with GitHub Actions
|
|
|
|
| 59 |
{"wait_selector": "h1", "wait_selector_state": "attached"},
|
| 60 |
{"wait_selector": "h1", "wait_selector_state": "visible"},
|
| 61 |
{
|
|
|
|
| 56 |
{"disable_webgl": True, "hide_canvas": False},
|
| 57 |
{"disable_webgl": False, "hide_canvas": True, "disable_resources": True},
|
| 58 |
{"stealth": True}, # causes issues with GitHub Actions
|
| 59 |
+
{"stealth": True, "real_chrome": True}, # causes issues with GitHub Actions
|
| 60 |
{"wait_selector": "h1", "wait_selector_state": "attached"},
|
| 61 |
{"wait_selector": "h1", "wait_selector_state": "visible"},
|
| 62 |
{
|
tests/fetchers/sync/test_dynamic.py
CHANGED
|
@@ -54,6 +54,7 @@ class TestDynamicFetcher:
|
|
| 54 |
{"disable_webgl": True, "hide_canvas": False},
|
| 55 |
{"disable_webgl": False, "hide_canvas": True, "disable_resources": True},
|
| 56 |
{"stealth": True}, # causes issues with GitHub Actions
|
|
|
|
| 57 |
{"wait_selector": "h1", "wait_selector_state": "attached"},
|
| 58 |
{"wait_selector": "h1", "wait_selector_state": "visible"},
|
| 59 |
{
|
|
|
|
| 54 |
{"disable_webgl": True, "hide_canvas": False},
|
| 55 |
{"disable_webgl": False, "hide_canvas": True, "disable_resources": True},
|
| 56 |
{"stealth": True}, # causes issues with GitHub Actions
|
| 57 |
+
{"stealth": True, "real_chrome": True}, # causes issues with GitHub Actions
|
| 58 |
{"wait_selector": "h1", "wait_selector_state": "attached"},
|
| 59 |
{"wait_selector": "h1", "wait_selector_state": "visible"},
|
| 60 |
{
|