Replies: 1 comment 3 replies
-
Maybe this: from seleniumbase import BaseCase
BaseCase.main(__name__, __file__)
class CanvasTests(BaseCase):
def test_canvas(self):
self.open("https://seleniumbase.io/canvas/")
zoom_in = "canvas{zoom: 1.4;-moz-transform: scale(1.4);}"
self.add_css_style(zoom_in)
self.sleep(2) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Michael, I want to move the mouse to a canvas and zoom in/out in the canvas, but it seems that Actionchains doesn't have this operation. Is there a way to simulate the scroll wheel to zoom in/out by Seleniumbase?
Beta Was this translation helpful? Give feedback.
All reactions