Closed Mattwmaster58 closed 3 years ago
Thank you for the issue, we'll fix it!
Do you need to use these options, or just stumbled upon them? If the former, could you please share your scenario?
I was messing around trying to solve this https://github.com/microsoft/playwright-python/issues/483 and knew of these options existence due to work with pyppeteer prior.
Hmm, maybe the documentation is in sync with the alpha? Just based on this info on the alpha:
The API has changed since the last 0.170.0 version:
Snake case notation for methods and arguments:
# old browser.newPage()
# new
browser.new_page()
You are right, 1.8alpha and future version use snake case, so it should be handle_sighup
and alike. I just double-checked the source code, sorry for not spotting that earlier.
The python docs define the following parameters for
launch
:However, this doesn't reflect what's in the libary. The correct parameters are named
handleSIGHUP
,handleSIGINT
andhandleSIGTERM