fate0 / pychrome

A Python Package for the Google Chrome Dev Protocol [threading base]
Other
612 stars 112 forks source link

Fixed tests, examples, and tab.py #65

Open artyl opened 9 months ago

artyl commented 9 months ago

Updated tests and examples (Closing the last tab in modern Chromium also closes the browser.). Removed usage of deprecated setRequestInterceptionEnabled in examples. Fixed tab.py to handle empty or incorrect JSON (empty or incorrect JSON triggers an exception in the threading library, leading to a high number of warnings in tests; after this fix, the number of warnings in tests decreases from 15 to 2)