fix: Override getScreenshotAs to support the legacy base64 encoding#1787
fix: Override getScreenshotAs to support the legacy base64 encoding#1787mykola-mokhnach merged 4 commits intoappium:masterfrom
Conversation
|
Possible to create maven build of appium java client with this patch? |
|
This only fixed fullscreen screentshots, while calling method of WebElement falls back to default implementation and fails the test. I guess the only option now (untill overriding is the only option) is to create a routine in tests which will make a full screenshot, then crop needed part based on WebElement's dimentions. |
This patch is ugly and it anyway would make sense to apply it on Selenium side instead. Or simply use the newest version of an appium driver, where it generates a compatible base64-encoding. |
Change list
Addresses SeleniumHQ/selenium#11168
Types of changes