Skip to content

Selenium: Restore getDockerImageForCapabilities method to public scope#3441

Merged
rnorth merged 1 commit intomasterfrom
restore-webdriver-method
Nov 8, 2020
Merged

Selenium: Restore getDockerImageForCapabilities method to public scope#3441
rnorth merged 1 commit intomasterfrom
restore-webdriver-method

Conversation

@rnorth
Copy link
Copy Markdown
Member

@rnorth rnorth commented Nov 8, 2020

Per 1e597cc#r43961779

Restoring this method to public scope.

I have marked with @Deprecated. I think this method will end up going away in the future, but we need to spend a bit of time thinking about it. BrowserWebDriverContainer is a slightly quirky class because of the automatic image inference is does, and we need to think about how things fit together.

@rnorth rnorth requested review from bsideup and kiview as code owners November 8, 2020 11:10
@rnorth rnorth added the type/bug label Nov 8, 2020
rnorth referenced this pull request Nov 8, 2020
@rnorth rnorth merged commit e2c55a2 into master Nov 8, 2020
@rnorth rnorth deleted the restore-webdriver-method branch November 8, 2020 11:42
@rnorth rnorth added this to the 1.15.1 milestone Nov 8, 2020
@vmassol
Copy link
Copy Markdown
Contributor

vmassol commented Nov 8, 2020

Yes indeed, I would make getImage() return the image used for all containers. When BrowserWebDriverContainer is used with a a set image it would return it and when it's computed it would return the computed image. TBH I was surprised when I saw that getImage() was not returning what I was expecting.

Thanks @rnorth !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants