Do not set content length to zero#11417
Conversation
|
@pujagani @diemol - I haven't been able to figure out a proper way to test this functionality manually because I basically need to create I attempted the following but this generates an error saying Steps:
public static void main(String[] args) throws MalformedURLException {
RemoteWebDriver driver = null;
try {
driver = new RemoteWebDriver(new URL("http://localhost:4444"), new FirefoxOptions());
driver.get("http://www.google.com");
System.err.println("Title " + driver.getTitle());
} finally {
if (driver != null) {
driver.quit();
}
}
} |
|
Ok please ignore the error msg.. That was my mistake... I didnt add a volume for mapping the assets in my docker compose file. Once I added it volumes:
- ./config.toml:/opt/bin/config.toml
- ./assets:/opt/selenium/assetsIt worked fine.. a test runs fine.. That PR is now tested out.. I am able to run a firefox test inside a dynamic grid without any issues. |
|
Came across this, too, after updating thinking the issue was resolved with latest release. Could this be reviewed/merged/released ASAP? |
dcabb08 to
74d3b7f
Compare
|
Kudos, SonarCloud Quality Gate passed! |
|
@diemol @pujagani - Please help re-open this defect. It looks like this is still NOT done. Here's what I have as analysis:
Note: with a I will raise a new PR for this in a few hours. |
|
Here's the new PR #11445 |
|
Thank you for the details. I have reopened the associated GitHub issue as requested. |








Fixes: #11342
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Motivation and Context
Types of changes
Checklist