[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-07 Thread Simon Stewart
This feels a little off topic (from chrome dev), so please feel free to follow up off-list. One way is to use the latest version of webdriver, built from the its subversion repo: http://selenium.googlecode.com/ I'm not quite sure what you're trying to do with the automated Chrome though, so

[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-04 Thread Simon Stewart
We recently landed support for using Chrome into WebDriver, and will shortly be making a set of downloads available. This would allow you to remote control an instance of Chrome using something like: WebDriver driver = new ChromeDriver(); driver.get(http://www.example.com;); The code is hosted

[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-04 Thread Simon Stewart
I thought that the AutomationProxy wasn't available in released versions of Chrome A look at the symbols exported by the chrome.dll suggests that this is the case. Simon On Thu, Sep 3, 2009 at 11:07 PM, Paweł Hajdan Jr. phajdan...@chromium.org wrote: Then probably you should just use

[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-04 Thread Paweł Hajdan Jr .
You can send automation messages directly, but AutomationProxy seems much more better for that to me. Of course if you don't have AutomationProvider on the browser side, then it's not going to work either way. On Fri, Sep 4, 2009 at 10:46, hap 497 hap...@gmail.com wrote: Can you please tell me

[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-04 Thread hap 497
Can you please tell me how you remote control an instance of chromium without using Automation Proxy? Thank you. On Fri, Sep 4, 2009 at 2:15 AM, Simon Stewartsimon.m.stew...@gmail.com wrote: I thought that the AutomationProxy wasn't available in released versions of Chrome A look at the

[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-03 Thread Paweł Hajdan Jr .
You need AutomationProxy for that. See the line server_.reset(CreateAutomationProxy(command_execution_timeout_ms_)); Please keep the discussion on the list. And I'll repeat my question: what is your goal? I might guess that you are trying to re-use the browser between test runs. It may be a bad

[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-03 Thread hap 497
Thank you. My goal is to remote control (e.g. load an url) a running instance of browser. That is why I am trying to run this AutomationProxyTest NavigateToURL to an running instance of browser. That is why I ask how can I run the 'TEST_F(AutomationProxyTest, NavigateToURL) ' Test case in

[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-03 Thread Paweł Hajdan Jr .
Then probably you should just use AutomationProxy (directly, without UI test framework). Adapting tests would be harder - just build a small driver program to launch the browser in a similar way UI test does, and uses the AutomationProxy to send it NavigateToURL message. You may also want to take

[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-02 Thread Patrick Johnson
Can you be more specific about what automation you'd like enabled? Maybe --dom-automation is what you're looking for, this binds the window.domAutomationController object. Patrick On Wed, Sep 2, 2009 at 9:40 AM, hap 497 hap...@gmail.com wrote: Hi, Can you please tell me how can I run