Ask a Question

Sys.Browser("chrome") - the object with the specified attributes does not exist

SOLVED
ucuber
Occasional Contributor

Sys.Browser("chrome") - the object with the specified attributes does not exist

Hi *,

 

Given:

 

- Windows 10

- TC 12.06

- Chrome with all needed addins for TC

 

Description:

 

usually I start Chrome with Run-Command (Browsers.Item[name].Run(self.base_url)), then connectig to it with

self.browser = Sys.Browser(browser, wait_millis), where browser is set to *. Works fine ... with *, not if I use "chrome" or "Chrome", but it works

 

Problem:

 

started Chrome manually. Trying to connect with Sys.Browser("chrome") ... does not work. But with "*" it does not work either!

 

Where is my fault? I have no idea anymore.

 

Regards

 

Ulrich

 

SOLVED: it was my fault. The second argument was set to -1 by default. If I omit this, everything works fine. And as a reminder to myself: this is no wait time, but the browser index.

2 REPLIES 2
ucuber
Occasional Contributor

SOLVED: it was my fault. The second argument was set to -1 by default. If I omit this, everything works fine. And as a reminder to myself: this is no wait time, but the browser index.

 

Regards

Ulrich

TanyaYatskovska
SmartBear Alumni (Retired)

Hi @ucuber,

Thanks for sharing your solution!

I've modified your topic a bit to make sure that the solution is visible for all community members.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



cancel
Showing results for 
Search instead for 
Did you mean: