|
From: Alexei A. <ale...@gm...> - 2009-08-06 03:37:19
|
Hello everyone, I'm trying to use Scriptable Browser <http://www.simpletest.org/en/browser_documentation.html> part of SimpleTest to automate a PHP application configuration - i.e. the application I work with has it's own configuration script which is accessible via HTTP. I successfully managed to use Scriptable Browser to connect and pass the configuration script, it works OK. But as always it's not always that easy - in some cases the domain name where application resides is not resolvable, in this case I need to be able to force Scriptable Browser to connect to the IP I specify as if the domain name resolved to that IP. I know it can be done by modifying hosts file, but that is not an option for me, I don't have access there from the script. Is there any way to alter the way Scriptable Browser resolves domain names, like some local hosts file/table? Thanks! -- Best regards, -- Alexei Anisimov |