@RoyceTheBiker_gitlab Selenium provides a selenium/standalone-chrome:latest
image as well, I use that for Chrome tests.
I think the difference is, my approach is focused on CI/CD running and running headless locally.
Your container seems focused on providing a managed tool to QA people so they don't have to worry about what docker is. I wouldn't use that on a CI server though, as you said before, it's doing too much.
setStepTimeout()
at the bottom of https://smashtest.io/language/code-referenceDo initializations {
setStepTimeout(100);
}
Open Chrome // this step and anything after it will timeout after 100 secs
Hi,
I'm trying to run a test where I need to hit a site that's got a self-signed or untrusted cert.
I'm trying the following:
Open Chrome
Set custom capabilities {
g('browser capabilities', {
// This is the Capabilities object. Capabilities go here.
// See withCapabilities()
'acceptInsecureCerts': true
});
}
Navigate to 'https://self-signed.badssl.com/'
Verify '#content > h1:nth-child(1)' is visible
Navigate to 'https://google.com'
Type 'hello world[enter]' into 'textbox'
But that's not really working. The google.com branch passes but the bad self-signed branch fails.
Are you able to help? Am I setting the capabilities correct?
@MrGlox
Hi ! How can I test a file download in smashtest ? The interaction is just a click but is there a way to listen to a download process ?
Seeing that smashtest is a wrapper of selenium testing file downloads is not a recommended practice.
Here is the link for what they have to say about this.
https://www.selenium.dev/documentation/en/worst_practices/file_downloads/
Good luck.
I'm newbie learn smashtest. I want take screenshot, but show error ``
Error: The function
Take screenshot` cannot be found.
Trace:
Open Chrome helloworld.smash:2 --> browser.smash:19
Use browser browser.smash:22 --> browser.smash:58
Navigate to 'http://10.124.57.80:8080/' helloworld.smash:4 --> browser.smash:121
Take screenshot helloworld.smash:7
```