You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
load('scripts/jvm-npm.js');
var webdriverio = require('webdriverio');
var options = {
desiredCapabilities: {
browserName: 'chrome'
}
};
function launchbrowser(){
var client=webdriverio.remote(options).init();
client.url('https://www.github.com');
client.end();
}
But when I'm launching it through Java Nashorn its not able to find some modules. But if we go to node_modules folder everything is there.
Code for Nashorn:
Following is my test.js file
But when I'm launching it through Java Nashorn its not able to find some modules. But if we go to node_modules folder everything is there.
Code for Nashorn:
Error:
The text was updated successfully, but these errors were encountered: