开发者

Window title is null, how can I select using selenium.selectwindow()

开发者 https://www.devze.com 2023-02-05 13:29 出处:网络
In my application some of the pages doesn\'t have titles, just displaying \"Mozilla Firefox\" and I want to do some operations on that page.

In my application some of the pages doesn't have titles, just displaying "Mozilla Firefox" and I want to do some operations on that page.

I tried to get the titles using selenium.GetAllWindowTitles(), this is returning all the window titles and showing the window title which is not having title as (""). I tried using ("") but no use.

Can someone help me to resolve this.

I asked developers to fix this page titles, unfortunately this development is in third 开发者_高级运维party, which is huge process. Of-course if there is no possibility then definitely I will ask them to fix it.

Thanks Vas


Try opening that page in Se-IDE. IDE will show the page title. I don't know from where it picks up but it usually works. Use the info in Se-RC.

0

精彩评论

暂无评论...
验证码 换一张
取 消