For some reason I get the following error only when I open up a nested webdriver
instance. No idea what is happening here.
I a
As documentation says:
Software caused connection abort. An established connection was aborted by the software in your host computer, possibly due to a data transmission time-out or protocol error.
Possible reasons:
and etc.
Also try to downgrade geckodriver 0.21.0
to geckodriver 0.20.1
. You can download it here. It seems to be a problem with geckodriver 0.21.0
https://stackoverflow.com/a/51236719/8625512
PS:
options.add_argument('-headless')
should be:
options.add_argument('--headless')