Webdriverxx won't start browser

时光总嘲笑我的痴心妄想 提交于 2021-02-11 12:33:37

问题


So i just got setup with webdriver++ - https://github.com/durdyev/webdriverxx and the I just ran the sample code to see if it works. For some reason it is not and i have no idea what is happening or how to fix it.

#include <webdriverxx.h>
#include <webdriverxx/browsers/chrome.h>

    WebDriver browser = Start(Chrome());
    browser
        .Navigate("https://google.com")
        .FindElement(ByCss("input[name=q]"))
        .SendKeys("Hello, world!")
        .Submit();

and it calls a break point on

WEBDRIVERXX_FUNCTION_CONTEXT_END()

I don't know whats happening only that it is happening because of starting the browser.

来源:https://stackoverflow.com/questions/61989226/webdriverxx-wont-start-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!