MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / test_animation

Method test_animation

examples/test_3d_apis.py:6–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4
5class ThreeJSTests(BaseCase):
6 def test_animation(self):
7 if self.headless:
8 self.goto_if_not_url("about:blank")
9 self.skip("Skip this test in headless mode!")
10 if self.is_chromium() and not self.enable_3d_apis:
11 self.get_new_driver(enable_3d_apis=True) # --enable-3d-apis
12 url = "https://threejs.org/examples/#webgl_animation_skinning_morph"
13 self.goto(url)
14 self.switch_to_frame("iframe#viewer")
15 self.sleep(0.8)
16 self.click('button:contains("Wave")')
17 self.sleep(3)

Callers

nothing calls this directly

Calls 8

skipMethod · 0.80
is_chromiumMethod · 0.80
goto_if_not_urlMethod · 0.45
get_new_driverMethod · 0.45
gotoMethod · 0.45
switch_to_frameMethod · 0.45
sleepMethod · 0.45
clickMethod · 0.45

Tested by

no test coverage detected