Perhaps I’m more awake today… ignore my first post, it seems I missed the fact you posted the code in your screenshot – it does seem to be a popup window.
The only guy I’d ask to take a look is @Brandon_Hein (our resident Chrome guy).
Eh, looks fine to me, I just wanted to make sure that the modal wasn’t embedded in an iframe, which it isn’t. There are some additional iframes there, but looks like the target content is within that div. It’s possible there are iframes further down in the tree, as you said.
Now we just need to find out why we can’t switch to the window by title as in the OP.
Ok I’m recreating this on my machine. It doesn’t appear that webdriver can access this new “window”. It can only see the original window of the dell website.
However, I did find this <iframe> in the body of the dell page:
I see that iframe on my AUT as well but the test fails all the same with the error:
Caused by: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: 'Object Repository/AccountManagement/test' located by 'iframe[src*="https://pay.google.com"]' not found
Although I am able to locate the iframe on my AUT with 'iframe[src*="https://pay.google.com"]' but the test is not able to locate the element.
Caused by: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: 'Object Repository/AccountManagement/EmailAddressInputBox' located by 'input[type="email"]' not found```
Hmmm I’m not well-versed in CSS locators. It’s possible that your locator is correct, assuming that switching to the iframe puts you in the right context. @Russ_Thomas is this locator valid?
If the iframe doesn’t work, I’d suggest signing into google in another way to get around this.