Commit Graph

225 Commits

Author SHA1 Message Date
UltrafunkAmsterdam 853f299967 remove the subclass and use delegation to access Webdrivers methods. This way an exception somewhere along your program will still ensure gracefull shutdown afterwards and fixes some other issues as well because Webdriver is now bound to the object instead of only initialized within the __init__ haeving no references at all. 2021-03-20 05:28:42 +01:00
unknown b3014260ce fix invalid session id after using get_in or context manager style 2021-02-04 12:55:44 +01:00
unknown 10b341b574 2.1.1 code cleanup, added v2 example to readme 2021-02-04 12:22:28 +01:00
unknown 2e2047dc91 2.1.0 2021-02-04 12:15:22 +01:00
Leon de55331c53
2.1.0 - multiple (hot)fixes and added emulate_touch argument
added a keyword argument to the Chrome constructor: emulate_touch, which, when set to True will mimick the presense of a touch(screen/device) for certain tests. This is mainly for bet365 detections. Otherwise i would not recommend setting it.
  credits to @boganfoo for this excellent find!

- removed `enable_console_log`
- reverted back to storing chromedriver binary in current workdir after several reports of users entire project folder being deleted (sorry for that btw).
- some code cleanup
- added a fix for useragent in headless mode in v2 (which reported 'Headless'). still headless mode in v2 is under construction and not fully functional.
- fixed bug in latest chrome which closes the window when using v2 in contextmanager mode or get_in method.
2021-02-04 12:05:37 +01:00
Leon 0fa88770a2
fix closing browser window when using as context manager 2021-02-04 11:57:45 +01:00
Leon fd91a89921
bump version 2021-02-04 11:49:06 +01:00
Leon db2214071d
Update v2.py 2021-02-03 09:29:41 +01:00
Leon 38b3eb2ec8
Update v2.py 2021-02-02 09:30:42 +01:00
UltrafunkAmsterdam a50362f9e8 - added a keyword argument to the Chrome constructor: `emulate_touch` which, when set to True will report presense of a touch(screen/device). This is mainly for bet365 detections. Otherwise i would not recommend setting it.
credits to @boganfoo for this excellent find!

- removed `enable_console_log`
- reverted back to storing chromedriver binary in current workdir after several reports of users entire project folder being deleted (sorry for that btw).
- some code cleanup
- added a fix for useragent in headless mode in v2 (which reported 'Headless'). still headless mode in v2 is under construction and not fully functional.
2021-02-02 08:58:00 +01:00
unknown 02ebb18c78 - removed enable_console_log
- reverted back to storing chromedriver binary in current workdir after several reports of users entire project folder being deleted (sorry for that btw).

- some code cleanup

- added a fix for useragent in headless mode in v2 (which reported 'Headless'). still headless mode in v2 is under construction and not fully functional.

- added a keyword argument to the Chrome constructor: 'emulate_touch' which, when set to True will report presense of a touch(screen/device). This is mainly for bet365 detections. Otherwise i would not recommend setting it.

 credits to @boganfoo for this excellent find!
2021-02-02 08:37:59 +01:00
unknown b792eaf242 - removed enable_console_log
- reverted back to storing chromedriver binary in current workdir after several reports of users entire project folder being deleted (sorry for that btw).

- some code cleanup

- added a fix for useragent in headless mode in v2 (which reported 'Headless'). still headless mode in v2 is under construction and not fully functional.

- added a keyword argument to the Chrome constructor: 'emulate_touch' which, when set to True will report presense of a touch(screen/device). This is mainly for bet365 detections. Otherwise i would not recommend setting it.

 credits to @boganfoo for this excellent find!
2021-02-02 08:37:14 +01:00
unknown 33b796ddf7 - removed enable_console_log
- reverted back to storing chromedriver binary in current workdir after several reports of users entire project folder being deleted (sorry for that btw).

- some code cleanup

- added a fix for useragent in headless mode in v2 (which reported 'Headless'). still headless mode in v2 is under construction and not fully functional.

- added a keyword argument to the Chrome constructor: 'emulate_touch' which, when set to True will report presense of a touch(screen/device). This is mainly for bet365 detections. Otherwise i would not recommend setting it.

 credits to @boganfoo for this excellent find!
2021-02-02 08:20:25 +01:00
Leon 0263617a83
disable auto-cleanup if custom user-data-dir is used
- prevent custom data dir to be automatically removed.
- remove the driver executable cleanup function, it is deleted at initialization anyway so it was double trouble.
- reverted back to having chromedriver in the CWD instead of a temp folder

@untested 
todo: test
2021-01-29 03:30:01 +01:00
Leon fd16909b89
Merge v2
v2
2021-01-17 21:18:12 +01:00
unknown d9c3afe4bd bugfixes 2021-01-17 21:11:44 +01:00
Leon 2ec225069f
Update v2.py 2021-01-17 21:05:40 +01:00
Leon 3ef151e048
Update v2.py 2021-01-17 20:48:36 +01:00
unknown e9ee200c88 fixed MacOS 2021-01-17 20:33:33 +01:00
unknown 21260c4d9a Merge branch 'v2' of https://github.com/ultrafunkamsterdam/undetected-chromedriver into v2 2021-01-17 20:33:09 +01:00
unknown 31ea119be7 fixed MacOS 2021-01-17 20:33:00 +01:00
unknown c8f28b1a70 corrected find_chrome_executable to work in MacOS 2021-01-17 20:31:22 +01:00
Leon ed5de61d67
Update setup.py 2021-01-17 17:36:54 +01:00
Leon 62684ac898
Update test_undetected_chromedriver.py 2021-01-17 06:45:20 +01:00
Leon 645a686cfe
Update v2.py 2021-01-17 06:43:03 +01:00
Leon 4fa212f0c5
Update v2.py 2021-01-17 06:31:22 +01:00
unknown e6d3299cbf v2 option 2021-01-17 06:11:11 +01:00
Leon e699d7605f
Merge pull request #76 from ultrafunkamsterdam/random-silence
1.5.2
2020-12-19 15:55:39 +01:00
Leon 6809a2d23c
Update setup.py 2020-12-19 15:50:54 +01:00
Leon 6708019040
randomize cdc_string and silicenced output
changed the warning log messsage to level INFO for @Avnxs
randomize cdc string   @czoins
2020-12-19 15:49:34 +01:00
Leon 78c59cc710
Update README.md 2020-12-17 15:07:33 +01:00
Leon 5f50b07709
Update README.md 2020-12-17 15:07:12 +01:00
Leon 0e0659d811
Update README.md 2020-12-17 15:06:51 +01:00
Leon 2e75181435
1.5.1 2020-11-25 16:07:34 +01:00
Leon d47818ee5f
Merge pull request #54 from ultrafunkamsterdam/cf-fix
fixed cloudflare detection, props to @czoins
2020-11-25 12:50:38 +01:00
Leon ea50a9d2c6
Update setup.py 2020-11-25 12:48:24 +01:00
Leon d8ccac2ac5
fixed cloudflare detection 2020-11-25 12:43:24 +01:00
Leon 7400dd407f
typo in url 2020-10-14 11:17:00 +02:00
Leon b3d9eac425
Update README.md 2020-10-14 11:15:40 +02:00
Leon 37c26d0d6d
Update README.md 2020-10-14 11:12:53 +02:00
Leon 989ddb7e40
Update README.md 2020-10-14 10:56:47 +02:00
Leon 068d83bcef
Update setup.py 2020-10-14 10:51:48 +02:00
Leon e8d4050f3c
Merge pull request #35 from ultrafunkamsterdam/1.5.0
1.5.0
2020-10-13 04:08:39 +02:00
ultrafunkamsterdam 4ce47e7f83 1.5.0 2020-10-13 03:51:35 +02:00
Leon 06217efc65
Update README.md 2020-09-28 01:36:37 +02:00
Leon 96411c19d1
Update README.md 2020-09-19 18:50:41 +02:00
Leon eb7e3a6330
Update README.md 2020-09-19 18:46:59 +02:00
ultrafunkamsterdam 8baa61990f working patch 2020-09-19 18:22:03 +02:00
ultrafunkamsterdam 17e1f0e584 Revert "working patch"
This reverts commit c0ee188636.
2020-09-19 18:15:41 +02:00
Goolen c0ee188636 working patch 2020-09-19 18:01:11 +02:00