Git Product home page Git Product logo

callisto's People

Contributors

vpokotilov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

callisto's Issues

I don't understand how to configure test launch

Tell me how to connect to a running callisto session from tests? Could you add some example preferably on java? I use selenide and I don't understand how to run tests on a raised callisto :(

[Query] How to run all browsers in a single Callisto cluster?

i have tried to launch a chrome instance and below is my values.yaml file.,

browser:
name: "chrome"
chromeImage: "browsers/chrome:89.0"
firefoxImage: "browsers/firefox:87.0"
edgeImage: "browsers/edge:91.0"
firefoxWebdriverPath: "/wd/hub" #

In the mean time, i am trying to start a Firefox instance in the cluster and it throws error.
http://172.17.0.8:4444/session returned 400 status code >>> {"tid": "web-0ced3e384e834d0c94178e9cba9947e1"}

For each browser we need to setup different cluster? Is my understanding correct?

Selenide support

Hello,

Its more a generic question, im trying to integrate our selenium tests with callisto
however i have faced an issue that after browser session is created other commands cannot reach browser and tests fails
with No webdriver is bound to current thread

Have you tried to use selenide with callisto? Or maybe you have an idea what should be done to make it working.

Thank you

Stuck sessions

Hello!

How do you work with stuck sessions?
Forgotten driver.quit() and other situations when session keep running but client already shutdown.

Can not upload a file using Callisto

Hi!
I'm using Selenium 4.1.2 and the most recent Callisto version with Chrome 97 Selenoid image.

I have a given test:

@Test
    public void uploadTest() throws IOException {
        ChromeOptions options = new ChromeOptions();
        options.setCapability("name", "test");
        RemoteWebDriver webDriver = new RemoteWebDriver(new URL("https://your.callisto.instance.url"), options);
        webDriver.get("https://the-internet.herokuapp.com/upload");
        webDriver.setFileDetector(new LocalFileDetector());
        WebDriverWait wait = new WebDriverWait(webDriver, Duration.ofSeconds(10));
        wait.until(driver -> driver.findElement(By.className("dz-hidden-input")))
                .sendKeys("/path/to/file.png");
    }

This test fails with the given error:

org.openqa.selenium.UnsupportedCommandException: unknown command: unknown command: session/fb8d64450dcfe3d53fb5ba1b4d89bdfa/se/file

Could You please assist on how to overcome this issue?

Can I deploy this in OpenShift ?

Hi,

I am looking for a similar solution and this solution (Callisto) seems promising.

I want to implement this in OpenShift. Do suggest if this support and you already had an example.

Thank you,
Kiran.

Web socket connection exception when Augmenter() is used to enhance Web driver

Hi,

I am using Augmenter() in my code to enhance Webdriver to capture Network logs using chrome devtools. However, i am observing exception when I am trying to do this.

INFO: Found exact CDP implementation for version 114
Jul 19, 2023 6:13:44 AM org.openqa.selenium.devtools.CdpEndpointFinder getCdpEndPoint
WARNING: Unable to connect to determine websocket url: java.net.ConnectException: Connection refused: localhost/127.0.0.1:41403
2023-07-19 06:13:44,402 ERROR [main] (CaptureNetworkRequests.java:190) - Exception occurred - org.openqa.selenium.devtools.DevToolsException: Unable to create DevTools connection
Build info: version: '4.1.3', revision: '7b1ebf28ef'
System info: host: 'ip-10-0-131-191.ec2.internal', ip: '10.0.131.191', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.43-17.39.amzn1.x86_64', java.version: '1.8.0_342'
Driver info: DevTools Connection


this is my code snippet
try {
if (ObjectUtils.isEmpty(devTools)) {
if (fwConfig.getBrowser().equals(Browser.CHROME.getName())) {
webDriver = new Augmenter().augment(webDriver);
devTools = ((HasDevTools) webDriver).getDevTools();
devTools.createSession();
}
}
} catch (Exception ex) {
Log.error("Exception occurred - " + ex);
}


When googled I have found this solution(https://github.com/SeleniumHQ/docker-selenium#grid-url-and-session-timeout), but since we don't have hub and nodes. I am not sure whether this solution helps me. If for any reason if I should add such an environment variable, please let me know on how to do it as well.

I am using
selenium-java = 4.1.3
Java = 8
selenium-devtools-v114

P.S: I already added this argument in chromeOptions(options.addArguments("--remote-allow-origins=*")).

Please help me to solve this issue.

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.