开发者

Getting PInvokeStackImbalance when using webdriver 2.5.1

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜