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

WEBDRIVERIO_OPENBOT not working for relative path #789

Open
Arunk28 opened this issue Dec 12, 2023 · 4 comments
Open

WEBDRIVERIO_OPENBOT not working for relative path #789

Arunk28 opened this issue Dec 12, 2023 · 4 comments
Assignees

Comments

@Arunk28
Copy link

Arunk28 commented Dec 12, 2023

In botium.json - if i give absolute path
"WEBDRIVERIO_OPENBOT": "C:/Projects/bot/botti/snippets/openbot.js", - it is working fine
if i give relative path
"WEBDRIVERIO_OPENBOT": "./snippets/openbot.js", - it is not working

Getting error :
"before all" hook for "hello":
Error: Hook specification "'./snippets/openbot.js'" invalid: no loader available

@codeforequity-at
Copy link
Owner

We changed the loading process for hooks with one of the recent releases. What version are you running ? (Botium Core and Botium Webdriver Connector)

@codeforequity-at codeforequity-at self-assigned this Dec 14, 2023
@Arunk28
Copy link
Author

Arunk28 commented Dec 14, 2023

@codeforequity-at
below packages are only using
"dependencies": {
"mocha": "^10.2.0",
"mochawesome": "^7.1.3",
"selenium": "^2.20.0",
"botium-bindings": "latest",
"botium-connector-echo": "latest",
"botium-connector-webdriverio": "^0.4.0"
}
total dependencies

@Arunk28
Copy link
Author

Arunk28 commented Dec 15, 2023

We changed the loading process for hooks with one of the recent releases. What version are you running ? (Botium Core and Botium Webdriver Connector)

Hi @codeforequity-at can you help here i gave details regarding dependencies

"dependencies": {
"mocha": "^10.2.0",
"mochawesome": "^7.1.3",
"selenium": "^2.20.0",
"botium-bindings": "latest",
"botium-connector-echo": "latest",
"botium-connector-webdriverio": "^0.4.0"
}

@Arunk28
Copy link
Author

Arunk28 commented Dec 19, 2023

@codeforequity-at @murliwatz Hi , Regarding this issues any update ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants