0

9 Commits

Author SHA1 Message Date
James Hilliard
c2ae02df69 [py] Replace devtools genrule with proper generate_devtools rule. ()
The existing genrule does not handle directories properly.

NOKEYCHECK=True
GitOrigin-RevId: b803c686243787bc45a41732d9348b08afaff449
2023-01-25 03:01:03 -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
Simon K
7a1e6d02a9 [py] python3.7+ syntax throughout *.py files. ()
* upgrading python to `3.7+` throughout

* additional `f` conversions

* fix `flake8` violations; tidy up formatting

* make python3 changes apply to only `/py`

NOKEYCHECK=True
GitOrigin-RevId: 31cc432099851bc9aa68c443b448ff97d7ad91ca
2022-06-13 11:11:39 -07:00
AutomatedTester
c59ee68c32 [py] Fix python generation code for CDP to optionals better
NOKEYCHECK=True
GitOrigin-RevId: d46dd323a63f6b7d4dcf88fbd7302df1c15e46ec
2022-01-27 14:37:16 -08:00
AutomatedTester
1d2cf8d05a [py] Fix Flake 8 Errors
NOKEYCHECK=True
GitOrigin-RevId: b147269a5faff39a0be94dc3ce8eff5308ba6b30
2022-01-27 14:28:54 -08:00
AutomatedTester
f98473ae42 [py] Add new APIs to control the browser via a bidi connection
NOKEYCHECK=True
GitOrigin-RevId: 587106bf243da214b95e163f9cc3670df9c9fc56
2022-01-27 14:23:36 -08:00
AutomatedTester
fbd0bccf9b [py] Get devtools API's working properly
This does dynamic importing of the generated APIs

NOKEYCHECK=True
GitOrigin-RevId: e2987e25757bb7beeb48e27bf6e4952afe084c29
2022-01-27 14:23:33 -08:00
AutomatedTester
16ce338d82 [Build] Set python devtools generator logger to critical
NOKEYCHECK=True
GitOrigin-RevId: a2a07bd4dc11fc1acaa7a6f7aad6f3b793aa5f1c
2022-01-27 14:23:09 -08:00
AutomatedTester
80f093f725 [py] Add support for DevTools APIs
The following code takes the JSON files and
auto generates the CDP APIs. It also allows
users to connect to a CDP endpoint

NOKEYCHECK=True
GitOrigin-RevId: 1dff72689dbf8023920c0a9e9612279c8a26b73c
2022-01-27 14:22:27 -08:00