wrike / callisto Goto Github PK
View Code? Open in Web Editor NEWCallisto is an open-source Kubernetes-native implementation of Selenium Grid.
License: MIT License
Callisto is an open-source Kubernetes-native implementation of Selenium Grid.
License: MIT License
I have done with the setup of callisto as provided in youtube video and available instruction in chart.I am able to create a browser session using the curl command too. but is there a way we could route all the requests to http://callisto.local/wd/hub
instead of creating a new session and connecting to it.
Hey guys,
Does Callisto support devtools or other connection via ws?
Case:
Seems, selenoid has same one https://github.com/aerokube/chrome-developer-tools-protocol-java-example/blob/master/src/test/java/com/aerokube/selenoid/ChromeDevtoolsTest.java#L52C9-L52C18
and it was expected to see same in Callisto
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 :(
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?
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
Hello!
How do you work with stuck sessions?
Forgotten driver.quit()
and other situations when session keep running but client already shutdown.
Hi Wrike folks!
Could you please clarify a status of the project? I see 4 commits, no PR, no dev for last 2 months. Do you have a roadmap for feature releases? Or this project is freeze?
For example do you have any plans to support Playwright?
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?
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.
Hello,
I have tried to start callisto-chart in minicube, but I receive the following errors when callisto container is starting:
Callisto logs.txt
Could you suggest how the issue can be solved?
BR,
Alex.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.