Closed Setitch closed 7 years ago
Apart from the fact that this PR fails all the tests and uses a different code style... why would one use a non-headless browser now that the feature is fully supported in stable Chrome?
Making it work for non-headless Chrome is a real pain due to the lack of browser contexts, merely creating a new tab is not enough. I don't know if you're aware, but I purposefully removed the support for non-headless Chrome a while back (da5efa0223ab26083da978e1d2d6a65b4f432d87).
Added code to work under chrome running without --headless flag, also added something (which should turn off throttling for hidden tabs - by activating them)