ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Possible for chrome window to have focus #1032

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi I was wondering if the chromedriver browser window could be focused? When i 
say focused i mean it could get system focus. I want the user to be able to 
interact with the browser window.

Another question regarding a similar issue is about visibility. I built a 
javafx app which fires up a chrome driver window but the user navigates away 
from my app and the chrome window. Is there anyway of bringing the chrome 
window back to top (ie visible on the desktop) when my app comes to focus?

FYI i have already tried doing driver.switchTo().window(windowHandle) or 
executing JS such as window.focus()

Original issue reported on code.google.com by rajandhi...@gmail.com on 11 Feb 2015 at 4:03

GoogleCodeExporter commented 9 years ago
Do you have any small  piece of  codes that will describe the case?

Original comment by andrewch...@chromium.org on 11 Feb 2015 at 6:42

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18

GoogleCodeExporter commented 9 years ago
Can you please provide a use case for this?

Original comment by gmanikp...@chromium.org on 26 Feb 2015 at 12:25

GoogleCodeExporter commented 9 years ago
I realized this is a system issue rather than pertaining to chromedriver 
itself. I used JNA to control the z index of windows. so this can be closed

Original comment by rajandhi...@gmail.com on 1 Mar 2015 at 4:43

GoogleCodeExporter commented 9 years ago

Original comment by gmanikp...@chromium.org on 4 Mar 2015 at 10:14