Skip to content

botium-crawler is unable to detect or run with webdriverio connector #821

@akshayp7

Description

@akshayp7

Describe the bug
I have below file as botium.json which work when I invoke botium-cli run command, browser is opening correctly and all the conversations are happening with bot as expected.
{
"botium": {
"Capabilities": {
"PROJECTNAME": "MyChatbot",
"CONTAINERMODE": "webdriverio",
"WEBDRIVERIO_OPTIONS": {
"capabilities": {
"browserName": "chrome",
"goog:chromeOptions": {
"args": ["--disable-gpu", "--window-size=1280,800"]
}
},
"protocol": "http",
"hostname": "localhost",
"port": 4444,
"path": "/wd/hub"
},
"WEBDRIVERIO_URL": "https://sample.net/",
"WEBDRIVERIO_OPENBOT": "C:/BotiumProject/snippets/openbot.js",
"WEBDRIVERIO_INPUT_ELEMENT": "#textbox",
"WEBDRIVERIO_SEND_BUTTON": "#sen",
"WEBDRIVERIO_OUTPUT_ELEMENT": "#output"
}
}
}

But when I try to run botium-crawler nothing is happening:

Below is my botium-crawler.json file
{
"config": "C:/BotiumProject/botium.json",
"entryPoints": ["Hello"],
"depth": 2
}

When I run botium-cli crawler-run nothing happens no browser is invoked I am not getting error logs as well

Below are few steps I tried to debug
Step 1:
Specified containermode as webdriverio in botium-crawler.json

Step 2:
Tried reinstalling botium core, cli and crawler freshly

Step 3:
Tried directly from command line using below command
botium-cli crawler-run --config ./botium-crawler.json --entryPoints 'hi'

Step 4:
Tried with verbose command.

Even logs are not getting generated neither do I get error message neither browser is launching

*** Versions***
"botium-cli": "^1.1.0",
"botium-core": "^1.15.4",
"botium-crawler": "^0.0.25"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions