unix - Programmatically remove Firefox's license agreement dialog -
I am running a regression test and automatically launching Firefox instances.
The problem is that my test is stuck due to Firefox's license agreement dialog:
.
I can not click with the mouse because I am in a non-headless environment with a virtual graphical environment.
I would like to know how I can edit Firefox's file (and how to edit it) to touch Firefox to think about accepting a copyright.
Explanations after comments
I just need to do this once. But I can not do it with the mouse because it is a virtual graphic environment and I do not have a mouse or mouse pointer. I can take screenshots though.
OK, I finally got it myself
The correct answer is:
In Firefox installation, find firefox.js
: Find this line:
pref ("browser.EULA.3.accepted", incorrect);
and false whit correct
thanks for all help.
Comments
Post a Comment