Skip to main content
santino87's user avatar
santino87's user avatar
santino87's user avatar
santino87
  • Member for 5 years, 11 months
  • Last seen more than 2 years ago
awarded
awarded
awarded
awarded
awarded
awarded
comment
Deprecation issue for InternetExplorerDriver
Yes, i did and it didnt work for me. how can i get rid of this deprecated issue ? how should i type the code to handle it
Loading…
comment
Code is not being executed once being tried to come back to parent window
i shared the code of windows method. Actually, it's working fine. I'm using it for other projects also but this problem's causing from another reason that i don't know. As mentioned before, i'm facing with same problem with click() and sendkeys() method also. If i use click method, click action is working but subsequently coming code is not executed but if i use sendkeys method, following codes are being executed so same type of issue is here also. last step on child window is clicking the button. i do it and child window is closing but i can't switch to main window. execution's getting stuck.
comment
Code is not being executed once being tried to come back to parent window
mainWindow = driver.getWindowHandle(); Set<String> totalwindowsIds = driver.getWindowHandles(); int a=0; String[] myset = totalwindowsIds.toArray(new String[totalwindowsIds.size()]); if(myset[a].contains(mainWindow)){ driver.switchTo().window(myset[a+1]); } else{ driver.switchTo().window(myset[a]); }
Loading…
Loading…
Loading…
accepted
asked
Loading…
awarded
comment
Unable to find element with css selector == input[name='username']
getting same issue. i think it's not related to code cause i've tried each method of it (xpath, cssSelector etc.) as i said, code was working before but right now concerned element can't be captured
Loading…