开发者

Getting PInvokeStackImbalance when using webdriver 2.5.1

开发者 https://www.devze.com 2023-03-31 06:24 出处:网络
Im getting a PInvokeStackImbalance error when running debug in VS2010 using selenium webdriver 2.5.1 dlls.

Im getting a PInvokeStackImbalance error when running debug in VS2010 using selenium webdriver 2.5.1 dlls.

If i do exactly the same but switch the dlls to the old 2.4 version there's no problems

Am i missing something??

Error message: PI开发者_运维百科nvokeStackImbalance was detected Message: A call to PInvoke function 'WebDriver!OpenQA.Selenium.IE.InternetExplorerDriverServer+StartServerFunction::Invoke' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.

Calling code:

_driver = new InternetExplorerDriver();

Thx for the help.


This is a known issue. It's already been fixed in the trunk of the project. If you are able to build from source, you can pick up the fix now. If you are unable to do so, the fix should be available in the next binary release.

0

精彩评论

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

关注公众号