0

718 Commits

Author SHA1 Message Date
Oboleninov Anton
08dd4cf456 [py] Add page load strategy enum ()
Fixes 

NOKEYCHECK=True
GitOrigin-RevId: 68b92607f4629e6406f6611b56a7e08fb9cfdba5
2023-12-08 05:37:33 -08:00
titusfortner
cfdbfd372a [py] add test for browser specific feature on remote driver
NOKEYCHECK=True
GitOrigin-RevId: da80617a083aa8ec29d27907108004c1ae89c060
2023-11-30 17:42:20 -08:00
titusfortner
5cf5cde409 [py] fix black and flake8 linting issues
NOKEYCHECK=True
GitOrigin-RevId: db507155fd42156a504ec9ca4eda374b7f903ee0
2023-11-13 02:59:40 -08:00
titusfortner
af29d81a20 [py] fix linting
NOKEYCHECK=True
GitOrigin-RevId: c258b225a01250aa9201558d849815508dc24fc4
2023-11-12 10:44:42 -08:00
AutomatedTester
a8e4419818 [py] Fix Proxy tests to work with pin_browsers
NOKEYCHECK=True
GitOrigin-RevId: f085ea2db70c0b43d3ef3b104f2dd11a0bae36de
2023-11-10 09:57:37 -08:00
AutomatedTester
ec8b905adf [py] clean up of usage of executable path in services
NOKEYCHECK=True
GitOrigin-RevId: e34220cdc58aa6d21b51a569acfb77d5179392da
2023-11-10 07:44:24 -08:00
AutomatedTester
e1dc90c071 [py] Add fixtures for clean objects
NOKEYCHECK=True
GitOrigin-RevId: f26e6bdc2f448c6684387c44853b3cec7738218a
2023-11-10 07:44:20 -08:00
Simon Mavi Stewart
6dcccfb3c8 Migrate remaining Python tests to run on the RBE
NOKEYCHECK=True
GitOrigin-RevId: a801016bf75bafd91982b6a1620f6e52d890fb7c
2023-11-10 07:44:08 -08:00
Titus Fortner
ee75649ff8 [py] implement file downloads ()
* [py] download file do not return a string

* [py] require enabling downloads

NOKEYCHECK=True
GitOrigin-RevId: 605fccda42c7ae7858ba582204080e138c7900d4
2023-10-31 21:21:00 -07:00
titusfortner
9387c89207 [py] fix text using caplog
need to format the message instead of using the message string with placeholder

NOKEYCHECK=True
GitOrigin-RevId: 6765b15ae5008ba6d759a4443eb549f36050d934
2023-10-04 18:42:00 -07:00
titusfortner
8b7b40e760 [py] remove unused import in tests
NOKEYCHECK=True
GitOrigin-RevId: fb358a48a7ec503a16cabbbbcc20076caccebe29
2023-09-23 11:46:46 -07:00
titusfortner
44761a2128 [py] do not test for virtual authentication properties
issue filed here - https://bugs.chromium.org/p/chromedriver/issues/detail?id=4569

NOKEYCHECK=True
GitOrigin-RevId: 488b96aeda3ea2fc3f214e36f09b55924e76dc31
2023-09-23 10:23:32 -07:00
Simon Mavi Stewart
64a407092f [ci] Fix the failing RBE build
There are three fixes here:

  1. Virtual authenticator now sets the `rpId` to
     the current domain, and supports more than only
     FIDO U2F Attestation Statement Format, so
     `userHandle` will also be set
  2. A Java test now passes on remote builds
  3. Mark a python frame switching test as failing in chrome

NOKEYCHECK=True
GitOrigin-RevId: 8a8120cc4e89d253dba9a772cbd06d08ec150c6f
2023-09-18 15:44:56 -07:00
titusfortner
beeb708aa6 [py] fix linting failures
NOKEYCHECK=True
GitOrigin-RevId: 741e9f6f6a71528cc548c300df54893f818ea126
2023-09-17 20:17:25 -07:00
titusfortner
8075ae8cb1 [py] chromium service log file name should always use args
Chrome Logging Preferences require logging to be enabled with --log-path

NOKEYCHECK=True
GitOrigin-RevId: 377f832cc875b80117e6918e755dbd00c82f7e30
2023-09-17 15:46:36 -07:00
Simon K
709425aaad Drop py37 support ()
* [py]: Upgrading syntax to be `python3.8+`

* [py]: Upgrade infrastructure for `python3.8+`

* [py] Remove accidental commit of pre commit config used for upgrading

* [py]: Remove py37 classifiers from bazel python packaging recipes

* [py]: Apply `flake8` with py3.8 - update docstrings inline with `PEP-257`

* [py]: Use more python3.8+ syntax

* [py]: Remove old python3.7 comments in code

* [py] Apply more python3.8+ type hints

* [py]: Fix conflicts and make `CHANGES` accurate

---------

Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
NOKEYCHECK=True
GitOrigin-RevId: 98d464061004eefd1c4c238ec42a91f4e59a232f
2023-08-28 01:17:22 -07:00
Sandeep Suryaprasad
56519849fd [py] fixed safari tests ()
* [py] fixed safari tests

* [py] modified message in xfail for safari tests

NOKEYCHECK=True
GitOrigin-RevId: e1ef766acfbb8cec32dd664ab46b7b825cc2091f
2023-08-14 10:12:48 -07:00
Sandeep Suryaprasad
302923e1ad [py] marked some element finding tests to xfail in safari ()
NOKEYCHECK=True
GitOrigin-RevId: d556045169692c5830373f977a8f94db72911a12
2023-08-08 02:01:13 -07:00
Sandeep Suryaprasad
e913eab97e [py] marked all pdf printing tests as xfail for safari ()
NOKEYCHECK=True
GitOrigin-RevId: 2c1ae5a8858e6603c4752a74ab82b338f53368e2
2023-08-05 03:58:56 -07:00
Titus Fortner
76fb09b4e5 [py] Remove unsupported safari parameters from Options ()
NOKEYCHECK=True
GitOrigin-RevId: 4beab57e3f17d6f34102050dc5994e1b74c94c6b
2023-07-31 19:48:13 -07:00
Diego Molina
5c4d40a326 [py] Ignoring test due to Chrome issue
NOKEYCHECK=True
GitOrigin-RevId: 6f58fb9ceb27d3a6d85957671d8b90414d4667b0
2023-07-26 22:02:47 -07:00
Titus Fortner
378c5226f1 [py] add browser output from selenium manager to options ()
NOKEYCHECK=True
GitOrigin-RevId: 01f65d261bd0350e572c0bc41084507164395750
2023-07-24 11:19:06 -07:00
Sandeep Suryaprasad
48a02e94e0 [py] Moved all common options to descriptor class ()
Co-authored-by: David Burns <david.burns@theautomatedtester.co.uk>
NOKEYCHECK=True
GitOrigin-RevId: fb6ef09964f80d4743ab9d66c987eb151ca525e2
2023-07-24 08:56:26 -07:00
Titus Fortner
cbaa22c273 [py] use Selenium Manager to locate drivers on PATH ()
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
NOKEYCHECK=True
GitOrigin-RevId: 6176d7ec65416db8525194119b3f62bfaaba01b4
2023-07-13 04:19:05 -07:00
Titus Fortner
177b9ec6ea [py] improve driver logging ()
[py] implement log_output() for flexibility and consistency of driver logging

Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
NOKEYCHECK=True
GitOrigin-RevId: ab6e4f894d58bc3a0f82577e18a7e5f7d3388ccb
2023-06-15 02:18:53 -07:00
Diego Molina
e65943f650 [py] Removing unused import to fix linter
NOKEYCHECK=True
GitOrigin-RevId: 92a0a8a9c27b8c2ed1e5ddfddd6a937444b0a566
2023-06-07 08:25:54 -07:00
titusfortner
7028f95b85 [py] fix broken syntax in mutation events
NOKEYCHECK=True
GitOrigin-RevId: 0f0f70657d488c907b11a7141cdebe84a29e6aa6
2023-06-07 05:20:04 -07:00
titusfortner
258d389975 [py] fix broken syntax in mutation events
NOKEYCHECK=True
GitOrigin-RevId: 4e77adebc11ad4412fc2852f7c54d27c5801412e
2023-06-07 04:51:41 -07:00
Titus Fortner
701884deca [py] add links to documentation for errors ()
* [py] include links to documentation for error messages

* [py] make custom exception for driver location

NOKEYCHECK=True
GitOrigin-RevId: 722376a9734d10f5444d0cde2cbd5f9a6757b650
2023-06-05 21:47:24 -07:00
Alpatron
ac88aeb926 improve "near" relative locator behaviour ()
* improve "near" relative locator behaviour

Changes the behaviour of the "near" relative locator to use the
distance between the two rectangles' boundaries for determining
closeness.

The relative_locators.html file is changed so that the center cell
and cell number two's centers are far away but their boundaries
are near each other.

Fixes 

* Fix default distance in relative locator

* Add Python tests

* [java] Adding test in Java and setting default to 50px

* [py] Fixing linter

---------

Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
Co-authored-by: Diego Molina <diemol@gmail.com>
NOKEYCHECK=True
GitOrigin-RevId: d10f8c225876fd48d710b2d658040f45efbda3e9
2023-06-02 12:13:19 -07:00
Titus Fortner
4a51b66366 [py] Remove deprecated code in driver classes ()
* [py] remove chrome w3c warnings

* [py] this constant is always true for supported versions of Python

* [py] remove deprecations

* [py] Fixing linting issues

---------

Co-authored-by: Diego Molina <diemol@gmail.com>
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
NOKEYCHECK=True
GitOrigin-RevId: 9f5801c82fb3be3d5850707c46c3f8176e3ccd8e
2023-06-01 02:47:46 -07:00
Tamsil Sajid Amani
8603e32730 [py] Allow setting a different pointer, keyboard, or wheel on input device ()
[py] Allow using device parameter in ActionChains constructor

NOKEYCHECK=True
GitOrigin-RevId: 8a73d502e26aab67bf874eb5ad394dc512b230b8
2023-05-30 20:09:24 -07:00
Titus Fortner
42fe5aab67 [py] support Proxies with Selenium Manager ()
NOKEYCHECK=True
GitOrigin-RevId: 5b406700f9418b9824a214d1bf7375e94e7ac2da
2023-05-25 15:07:12 -07:00
Titus Fortner
e5e5e0b271 [py] fix proxy options ()
NOKEYCHECK=True
GitOrigin-RevId: 6a776f38fe80474768aababb0ce6d36ea6b9cf3b
2023-05-25 13:48:36 -07:00
titusfortner
6afe05ad6e [py] fix flaky test
NOKEYCHECK=True
GitOrigin-RevId: 2a6b07579c75d72726aa7884fe2547683cdea8b8
2023-05-14 09:14:28 -07:00
Titus Fortner
634af961af [py] update logging to match other bindings ()
* [py] update logging to match other bindings

* [py] Deleting a test we do not need anymore

* [py] Deleting a test we do not need anymore

---------

Co-authored-by: Diego Molina <diemol@gmail.com>
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>

Fixes 

NOKEYCHECK=True
GitOrigin-RevId: 59fa77c675f891cef9ef397eb7952eb2d5821cd2
2023-05-03 22:44:38 -07:00
Diego Molina
2b8cffa8ae [py] Selenium Manager use binary from Browser Options


NOKEYCHECK=True
GitOrigin-RevId: 78d2bb8371a8400628cdc903611b2538a5da73ed
2023-04-14 22:34:57 -07:00
Diego Molina
4148f6ded6 [py] Selenium Manager get Browser Version from Options classes


NOKEYCHECK=True
GitOrigin-RevId: bd240908b29054ab309d6355307c1769d8373ec6
2023-04-14 21:23:05 -07:00
Diego Molina
8707082014 Passing options to Selenium Manager ()
NOKEYCHECK=True
GitOrigin-RevId: 6be659b6cf99846db616ba8ef17cf4f413692030
2023-04-13 13:07:51 -07:00
Alex
306b4fff46 [py] simplify driver binary and driver location selecting ()
* simplify driver selection

* lint fixes

* simplify binary selection

* fix tests

* fix test

---------

Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
NOKEYCHECK=True
GitOrigin-RevId: b003857c98cbdafab93742d65cf3d2c9ef944d06
2023-04-05 01:57:43 -07:00
Henrik Skupin
2a9477ac6c Remove "shadow_root" assertion in Python bindings for Firefox ()
Remove "shadow_root" assertion for Firefox.

The "Get Element ShadowRoot" command has been implemented
in Firefox 96 (a year ago) and it should no longer cause
an assertion.

Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
NOKEYCHECK=True
GitOrigin-RevId: 1f8b0c5eb0cb5b13609af93b7895e398af44b079
2023-03-27 10:03:00 -07:00
Diego Molina
5dff188662 [py] Using json output with Selenium Manager
NOKEYCHECK=True
GitOrigin-RevId: 00a26243922b4d8118642b2b64c1aa0db5f9e73b
2023-03-19 17:59:58 -07:00
Diego Molina
9056ecd671 [CDP] Disabling some CDP tests on Firefox
https://bugzilla.mozilla.org/show_bug.cgi?id=1819965

NOKEYCHECK=True
GitOrigin-RevId: 9acbfce23dafb40155c64d13168bf6a8623f63fe
2023-03-10 01:50:17 -08:00
Diego Molina
51d264a076 [py] Fixing Selenium Manager test
NOKEYCHECK=True
GitOrigin-RevId: b7d7c491650734c17521d6aa9f667487bb2ebc59
2023-03-06 05:48:47 -08:00
symonk
ad5afbe4e6 [py]: Bump black & isort versions
NOKEYCHECK=True
GitOrigin-RevId: c044441a0d2bf1e24884ac48fca52557fb937ee7
2023-02-08 13:30:19 -08:00
Mark Mayo
221822f6c0 pylint fixes including tidy of f strings, simplifications of conditional statements and isinstances ()
pylint fixes

Tidying up of a bunch of pylint issues

Co-authored-by: Simon K <jackofspaces@gmail.com>
NOKEYCHECK=True
GitOrigin-RevId: 3f6717df6407180f8fae81a85702e7eec5a81093
2023-01-24 03:46:35 -08:00
titusfortner
c5257f2b29 [py] deprecate headless property for Chromium and Firefox Options
NOKEYCHECK=True
GitOrigin-RevId: f56bc12a3f52b75da44eec83787ea74b9d21d8ae
2023-01-14 15:45:31 -08:00
Jon Dufresne
ae881b580e Remove unnecessary executable permission bit from several files ()
NOKEYCHECK=True
GitOrigin-RevId: e43a6c296dfdb35065a7dbd4f73b37f72970357c
2023-01-02 09:16:14 -08:00
symonk
9e9a5391a2 [py]: Fix linting issues
NOKEYCHECK=True
GitOrigin-RevId: 29fc508dfee19315f03b937bfc9c8fd74010e1bf
2022-12-10 11:06:28 -08:00
symonk
aed3320281 [py]: add missing assert for test_bespoke_options_for_virtual_authenticator
NOKEYCHECK=True
GitOrigin-RevId: 3345f53736ef9e54e1970c8d3dfccc777fbd3ca8
2022-12-10 11:00:57 -08:00