Commit graph

17 commits

Author SHA1 Message Date
Martin Pitt
42b031130c log exceptions from ws_reader() 2024-07-26 16:48:23 +02:00
Martin Pitt
6cae2c652a frame tracking and cockpit testing
Hint from https://github.com/w3c/webdriver-bidi/issues/418
2024-07-26 16:48:23 +02:00
Martin Pitt
5b31add62f Robustify interactive browser
Too small window sizes make the test unstable. Now it works reliably in
a loop.
2024-07-24 17:15:59 +02:00
Martin Pitt
6cd41a5cc5 page wait load timeout and fix 2024-07-24 17:15:59 +02:00
Martin Pitt
4c18ab08b0 Refactor run and page helpers 2024-07-24 17:15:59 +02:00
Martin Pitt
c1496f15a3 Refactor bidi session 2024-07-24 17:15:59 +02:00
Martin Pitt
23ff405ad0 Dynamic ports
Thanks Lis for the idea!
2024-07-24 17:15:59 +02:00
Martin Pitt
b9b9f0abd0 Bring back firefox marionette
Re-eliminate geckodriver. Turns out we can do everything through BiDi.
2024-07-24 17:15:59 +02:00
Martin Pitt
a6c4ab0cd4 Convert /text to bidi evaluate
That's what we do in CDP as well
2024-07-24 17:15:59 +02:00
Martin Pitt
3a8a279e18 Convert to BiDi click and add page load wait/check 2024-07-24 17:15:59 +02:00
Martin Pitt
025731f0c8 Clean up session tracking 2024-07-24 17:15:59 +02:00
Martin Pitt
eb6fd8ac1d Clean up open-coded driver startup 2024-07-24 17:15:59 +02:00
Martin Pitt
3df6155547 API for classic webdriver; text + click
Unfortunately the "interesting" commands like "click" don't have a BiDi
command, and need classic webdriver.
2024-07-24 17:15:59 +02:00
Martin Pitt
7cc9b6c7a3 add headless mode 2024-07-24 17:15:59 +02:00
Martin Pitt
577ec26307 move to aiohttp 2024-07-24 17:15:59 +02:00
Martin Pitt
e34f982375 collect log messages 2024-07-24 17:15:59 +02:00
Martin Pitt
fb9335663f first PoC of Python bidi runner 2024-07-24 17:15:59 +02:00