如何使硒與微策略相互作用?


2
  1. 我必須通過單擊"報表詳細信息" Web元素在新選項卡上啟動MSTR頁面。enter image description here

  2. 我想在mstr頁面上單擊的右鍵菜單上找不到"檢查"選項

  3. 當我右鍵單擊它時,我可以找到檢查選項,並且所有mstr文件夾圖標都放在表中。我把它的xpath並嘗試單擊,但找不到gettenter image description hereing元素我的問題是:Selenium是否可以與MSTR報告交互?如果是的話,應該怎麼辦?如果沒有,那是最好的工具,為什麼它不能交互?

1

I could not find the Inspect option on the right click menu that I want to click on the mstr page

Just press f12 to open the inspector and use the highlight button to highlight the leement you want:

enter image description here

You could also use the shortcut key combination ctrl+shift+i:

enter image description here

Why is it behaving like this:?

Because the webpage is coded in a way to capture the mouse right click event and display a droppdown menu instead of the native browser owned.