Question

Browser Package 與 Window Package 中的問題(A360)?

  • 29 March 2022
  • 3 replies
  • 10 views

1. Window(Browser) 變數, 使用 Window>Set title, 設定新的 Window title 後,該變數無法被 Browser>Open(Existing tab) 識別, 開啟新的 url 位址. 所以, 在 Loop 中使用 Browser>Open 時候,必須一直關閉整個 Browser 視窗,並重新開啟新的 Brwoser(New Tab)。延誤時間且占用更多資源. 是否有方法解決?

 

2. Browser > Open 開啟 url 位址後,Window(Currently active) 並不指向所開啟的 Browser.

3. 變數設定 <window(Browser) 的 Window title> 與 <Window(Application) 的 Window title > 內容不同無法通用. 不影響使用


3 replies

Userlevel 3
Badge +7

Hi @Wenjie YANG​ ,

 

Could you try using a Window Variable toggled to Application instead?

The Application relies on the Window Title, also its better if you refine the Window Title using wildcards(*).

 

 

image 

Kind Regards,

Ashwin A.K

 

https://www.mirrormedia.mg

in this Website, each news has the unique window title. In Loop, I must set the window title, to open the next news.

use the action: Browser>open. it always throw an exception: WindowType.NotSupported.

Userlevel 3
Badge +7

Hi @WenJie Yang​ ,

 

If that is the case, then you might have to try performing the automation on another Browser, like Google Chrome, Edge or Mozilla.

 

Kind Regards,

Ashwin A.K

Reply