Commit Graph

231 Commits

Author SHA1 Message Date
Leon 951e6598d4
3.4.0 - New anti-detection mechanism - Lots of fixes
* rewritten the anti-detection mechanism instead of removing and renaming variables, we just keep them, but prevent them from being injected in the first place. This will keep us safe from detection at least for the near future.

* rewritten the file naming, to prevent ending up with 1000 of {randomstring}_chromedriver.exe 's instead it is just called undetected_chromedriver.exe

* cleanup removed compat,v2 files and tests folder
2023-02-04 22:43:55 +01:00
Leon 10929949fe
3.4.0 - Oh yes, do wanna rockin' with the best
3.4.0 - Oh yes, do wanna rockin' with the best
2023-02-04 22:24:01 +01:00
UltrafunkAmsterdam c12fcfc0a8 Oh yes, do wanna rockin' with the best
--------------------

https://youtu.be/kMjhrh_XDWk?t=48

--------------------

Big update! be careful as it -potentially- could break your code.

- rewritten the anti-detection mechanism
  instead of removing and renaming variables, we just keep them, but prevent them from being injected in the first place

- rewritten the file naming, to prevent ending up with 1000 of {randomstring}_chromedriver.exe 's
  instead it is just called undetected_chromedriver.exe

- cleanup
  removed compat,v2 files and tests folder
2023-02-04 22:02:46 +01:00
Leon dad751da18
Update README.md 2023-01-01 02:59:41 +01:00
UltrafunkAmsterdam 18d9f47978 3.2.1 - minor fixes 2022-12-29 11:53:24 +01:00
Leon e0997e060f
Update __init__.py 2022-12-29 11:48:09 +01:00
Leon a26e375c1d
Update example.py 2022-12-29 11:47:48 +01:00
Leon dd0c7ca75e
Merge pull request #965 from IvanReznikov/3.2.0-list-typing-fix
minor typing change to handle list typing
2022-12-29 10:22:17 +00:00
Ivan Reznikov 88f70fea07
minor typing change to handle list typing 2022-12-29 02:47:58 +04:00
Leon 93fef62d50
Update README.md 2022-12-28 15:57:21 +01:00
Leon 0ea3cf50d4
3.2.0 2022-12-28 15:54:18 +01:00
UltrafunkAmsterdam 3bce88f82c 3.2.0 2022-12-28 15:46:52 +01:00
UltrafunkAmsterdam 0214c9fbbe 3.2.0 2022-12-28 15:43:42 +01:00
UltrafunkAmsterdam 07abe814a6 more refactoring; fix bug that browser stays opened when script exits 2022-12-26 01:48:01 +01:00
Leon 5df8e00a5a
Merge pull request #643
Set a specific data_path for Patcher if the environment is AWS Lambda
2022-12-17 19:02:16 +00:00
Leon a535fc9597
Update README.md
...
2022-12-14 21:39:32 +00:00
Leon e50ef8b373
Update README.md
fix path to example file for when this is merged to master
2022-12-14 21:38:54 +00:00
Leon 4db5d9338b
Update example.py
added a variable TAKE_IT_EASY which defaults to True. Since it is a demo it should be 'followable'. if set to False, it won't pause in between and it just flashes by.
2022-12-14 21:34:45 +00:00
Leon ab6c54df6f
re-fix children so it returns a list 2022-12-14 21:22:22 +00:00
UltrafunkAmsterdam 1e8e83f6ae refactoring 2022-11-29 18:26:11 +01:00
UltrafunkAmsterdam e33312535e update readme. ensure children(recursive=True) returns a list 2022-11-29 18:19:28 +01:00
UltrafunkAmsterdam e4d75cbdd0 Merge branch '3.2.0' of http://github.com/ultrafunkamsterdam/undetected-chromedriver into 3.2.0 2022-11-29 18:11:50 +01:00
Leon f13a0c1531
Update setup.py
include example file
2022-11-29 14:27:57 +01:00
Leon cb3d91064a
Update example.py 2022-11-29 14:25:42 +01:00
Leon b11a720f3e
Update example.py 2022-11-29 14:25:25 +01:00
Leon 6caf8fe3d0
add additional search path for x32 and updated 'port' description 2022-11-29 11:16:45 +01:00
UltrafunkAmsterdam 6adeb2d285 optimized import maze 2022-11-28 23:47:38 +01:00
UltrafunkAmsterdam 25bca31f35 > added WebElement.click_safe() method, in case you get detected
after clicking a link

> added WebElement.children(self, tag=None, recursive=False)
  to easily get/find child nodes

> added example.py where i can point people at
  when asking silly questions
  (no, its actually quite cool, everyone should see it)

> some refactoring
2022-11-28 23:41:38 +01:00
Leon 33d2a72848
Merge pull request #674 from JJ/patch-1
Probably a typo?
2022-11-21 16:40:20 +00:00
UltrafunkAmsterdam 9db7588a71 3.1.7 2022-11-20 22:07:24 +01:00
UltrafunkAmsterdam 0ce879001f resolve conflicts 2022-11-20 22:05:04 +01:00
UltrafunkAmsterdam 73f554f659 resolve conflicts 2022-11-20 21:44:17 +01:00
Leon 2742ff582d
use_subprocess=True 2022-11-20 21:29:13 +01:00
sebdelsol 75c4a56951
fix ultrafunkamsterdam/undetected-chromedriver#869
handle nested dict when creating undot_prefs (a naive dict.update won't do!)
2022-11-06 20:02:24 +01:00
sebdelsol 2ef9791abb
fix service_creationflags
On Selenium < 4.6.0 it was Service.creationflags
Its now Service.creation_flags
2022-11-06 15:55:34 +01:00
UltrafunkAmsterdam 7cb068d977 Merge remote-tracking branch 'origin/added-window_new()-method-to-open-new-window' into 3.1.6 2022-10-15 19:39:39 +02:00
Leon 67e84a8b06
Update README.md 2022-10-15 19:26:01 +02:00
Leon 40ad1812e2
Update __init__.py 2022-10-15 16:51:47 +02:00
Leon 632bb6b1e5
3.1.6 prep
- use_subprocess  now defaults to True
  since many people do not understand python's  multiprocessing and __name__ == '__main__' 
- added option "no_sandbox" with a default value of True
   since many people seem to run this as root (.......) ,  will run into errors since chrome does not run as root without using --no- 
   sandbox flag.  the downside was that you would get another warning bar about "using unsecure command line flag".  
   uc's no_sandbox option also makes sure this warning get's supressed.
2022-10-15 16:18:13 +02:00
sebdelsol 1c45a39000 service_creationflags 2022-08-30 13:46:41 +02:00
Leon cc44dbcc09
Update __init__.py 2022-07-17 11:18:24 +02:00
sebdelsol 6336874933 fix #704 2022-06-29 12:07:25 +02:00
Juan Julián Merelo Guervós 8f0860bc4a
Probably a typo?
Although if no one has noticed, it's probably not so important...
2022-06-09 20:59:08 +02:00
AktanKasymaliev 5c98438725 path for aws lambda 2022-05-23 23:18:06 +06:00
AktanKasymaliev 444d9e4aba paht for aws lambda 2022-05-23 23:07:24 +06:00
AktanKasymaliev f386a5b743 path for aws lambda 2022-05-23 22:36:31 +06:00
sebdelsol f5b47dbdd5 forgot truncate 2022-04-04 13:22:28 +02:00
sebdelsol 8084b3f9c4 some headless evasions 2022-04-04 13:20:25 +02:00
sebdelsol 843173827a fix find_chrome_executable() on x86 Windows 2022-03-18 16:11:55 +01:00
sebdelsol 0bf986ee8b fix corrupt prefs when the file already exists 2022-03-18 15:41:53 +01:00