Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSONWP alias for element screenshot endpoint #181

Merged
merged 1 commit into from
Aug 3, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ private void registerGetHandler() {
register(getHandler, new GetRect("/wd/hub/session/:sessionId/element/:id/rect"));
register(getHandler, new GetSize("/wd/hub/session/:sessionId/element/:id/size"));
register(getHandler, new GetName("/wd/hub/session/:sessionId/element/:id/name"));
// W3C endpoint
register(getHandler, new GetElementScreenshot("/wd/hub/session/:sessionId/element/:id/screenshot"));
// JSONWP endpoint
register(getHandler, new GetElementScreenshot("/wd/hub/session/:sessionId/screenshot/:id"));
register(getHandler, new Location("/wd/hub/session/:sessionId/element/:id/location"));
register(getHandler, new GetDeviceSize("/wd/hub/session/:sessionId/window/:windowHandle/size"));
register(getHandler, new Source("/wd/hub/session/:sessionId/source"));
Expand Down