Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import WebDriver and WebElement as Class #36

Open
uezo opened this issue Nov 20, 2021 · 4 comments
Open

Can't import WebDriver and WebElement as Class #36

uezo opened this issue Nov 20, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@uezo
Copy link
Owner

uezo commented Nov 20, 2021

Automatically added as the Modules. It's very confusing for beginners.

@uezo
Copy link
Owner Author

uezo commented Dec 30, 2021

Return code LF may cause this problem.

@uezo uezo added the bug Something isn't working label Dec 30, 2021
@farhanwadia
Copy link

I had a similar issue, what helps is to manually add a class module in the VBA editor by going Insert -> Class Module, and then copy-pasting the WebDriver.Cls code in the blank class module you inserted. Comment out the first line "VERSION 1.0 CLASS", and then rename the class module to WebDriver. Then, repeat a similar procedure for WebElement.cls

@uezo
Copy link
Owner Author

uezo commented Jan 12, 2022

Hi @farhanwadia ,
Thank you for reporting. I tried changing LF to CRLF then they are successfully imported. I will include the converted class module files or XLSM file next release.

@uezo
Copy link
Owner Author

uezo commented Jan 13, 2022

The latest release includes th
e modules for drag&drop import.
https://github.com/uezo/TinySeleniumVBA/releases/tag/v0.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants