Press "See more images button" of Bing by QWebEnginePage



  • How could I click the button shown in this imagebing image?

    I try to find the keyword "See more images" but find nothing, I expected to find the id of the button so I could click the button by js. Google search is easier, you can find the button by enter "show more results".

    ex :

    //I expect something like this should work
    webpage->runJavaScript("document.getElementById(\"show_more\").click()");
    


  • Found the answer, I cannot find the keywords "See more images" because "View page sources" of firefox do not update the source codes, you could find it by the element selector of chrome.

    stackOverflow has more details about this topic


Log in to reply