OpenBrowser Chrome new window
OpenBrowser Chrome new window
Helo together,
we use the code openbrowser to open a new instance of chrome. Unfortunataley no new instance is opened, this code opens a new tab in chrome, if chrome is already opened. How can I open a new instance of chrome in case of an already open chrome instance?
Thanks a lot.
we use the code openbrowser to open a new instance of chrome. Unfortunataley no new instance is opened, this code opens a new tab in chrome, if chrome is already opened. How can I open a new instance of chrome in case of an already open chrome instance?
Thanks a lot.
Re: OpenBrowser Chrome new window
Hi,
You have to add "--new-window" argument to Open Browser action (via Open Browser properties). This should do the trick.
You have to add "--new-window" argument to Open Browser action (via Open Browser properties). This should do the trick.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: OpenBrowser Chrome new window
Thanks for your answer. I tried several times but I get the agrument not into the properties:
How can I inserted the argument?
How can I inserted the argument?
You do not have the required permissions to view the files attached to this post.
Re: OpenBrowser Chrome new window
Hi,
The argument appears to be inserted at correct place, but the argument itself is wrong. It must be --new-window but you entered --new window. There is missing "dash" in your argument!
The argument appears to be inserted at correct place, but the argument itself is wrong. It must be --new-window but you entered --new window. There is missing "dash" in your argument!
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: OpenBrowser Chrome new window
Thanks a lot, it works fine.
Re: OpenBrowser Chrome new window
I am not seeing where this property can be added. I am not seeing it. Thanks
Re: OpenBrowser Chrome new window
Hi,
Just select the OpenBrowser Action in action table, go to Properties pane and here fill the Argument field...
Just select the OpenBrowser Action in action table, go to Properties pane and here fill the Argument field...
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: OpenBrowser Chrome new window
Looks good. Thank you.
Re: OpenBrowser Chrome new window
Hey,
I have given Run maximised as —True, but still in selenium node machine (which is a Mac machine) opens a not maximised chrome. I have changed my Mac settings as "Continue where I left", Still it opens small window. How can I make selenium grid invoking as a maximise window.
I am using Ranorex 8.1.2.
Master is windows 10.
Selenium node is MacBook Air.
Any help is appreciated.
I have given Run maximised as —True, but still in selenium node machine (which is a Mac machine) opens a not maximised chrome. I have changed my Mac settings as "Continue where I left", Still it opens small window. How can I make selenium grid invoking as a maximise window.
I am using Ranorex 8.1.2.
Master is windows 10.
Selenium node is MacBook Air.
Any help is appreciated.
Regards,
Charu Solanki
Ranorex User
Charu Solanki
Ranorex User
Re: OpenBrowser Chrome new window
Hey csolanki,
what selenium server version do you use? version 3.12.0 is the latest one and the one which I'm currently using.
i haven't tried the Selenium integration on a Mac yet, but on Windows the maximized flag works perfectly fine.
Have you also tried it with Safari?
regards, qwertzu
what selenium server version do you use? version 3.12.0 is the latest one and the one which I'm currently using.
i haven't tried the Selenium integration on a Mac yet, but on Windows the maximized flag works perfectly fine.
Have you also tried it with Safari?
regards, qwertzu
Re: OpenBrowser Chrome new window
Hi,
I am using the latest version (version 3.12.0). I have only tried with chrome, as my requirement specifies chrome. It would be great if you can try with these specs. Meanwhile I will try with safari.
Selenium Server : version 3.12.0
Node: Mac
master: Windows 10
Ranorex version 8.1.2
Thank you.
I am using the latest version (version 3.12.0). I have only tried with chrome, as my requirement specifies chrome. It would be great if you can try with these specs. Meanwhile I will try with safari.
Selenium Server : version 3.12.0
Node: Mac
master: Windows 10
Ranorex version 8.1.2
Thank you.
Regards,
Charu Solanki
Ranorex User
Charu Solanki
Ranorex User
Re: OpenBrowser Chrome new window
Hi,
It seems you need to use Java script to maximize the browser window, because Selenium does not have such possibility (yet). See this post:
https://www.ranorex.com/forum/ranorex-7 ... tml#p43161
Or this one:
https://stackoverflow.com/questions/318 ... -2-using-c
It seems you need to use Java script to maximize the browser window, because Selenium does not have such possibility (yet). See this post:
https://www.ranorex.com/forum/ranorex-7 ... tml#p43161
Or this one:
https://stackoverflow.com/questions/318 ... -2-using-c
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: OpenBrowser Chrome new window
Hi,
I tried following your instruction with edge but it didn't work.
Can you just help me?
Thanks
I tried following your instruction with edge but it didn't work.
Can you just help me?
Thanks
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: OpenBrowser Chrome new window
Hi Rose@@,
You can use a standard Ranorex Open Browser action to open Edge with Ranorex. If you prefer to work in code, you can use the OpenBrowser method. If you continue to experience issues, please provide the exact error that is occurring so we can better understand what the issue is. The more detail you can provide, the better we will be able to assist you.
Kind Regards,
Ned