MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / CanClickAnImageMapArea

Method CanClickAnImageMapArea

dotnet/test/webdriver/ClickTests.cs:229–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227 }
228
229 [Test]
230 [IgnoreBrowser(Browser.Firefox, "https://bugzilla.mozilla.org/show_bug.cgi?id=1502636")]
231 public void CanClickAnImageMapArea()
232 {
233 Driver.Url = Urls.WhereIs("click_tests/google_map.html");
234 Driver.FindElement(By.Id("rectG")).Click();
235 WaitFor(() => { return Driver.Title == "Target Page 1"; }, "Browser title was not 'Target Page 1'");
236
237 Driver.Url = Urls.WhereIs("click_tests/google_map.html");
238 Driver.FindElement(By.Id("circleO")).Click();
239 WaitFor(() => { return Driver.Title == "Target Page 2"; }, "Browser title was not 'Target Page 2'");
240
241 Driver.Url = Urls.WhereIs("click_tests/google_map.html");
242 Driver.FindElement(By.Id("polyLE")).Click();
243 WaitFor(() => { return Driver.Title == "Target Page 3"; }, "Browser title was not 'Target Page 3'");
244 }
245
246 [Test]
247 [IgnoreBrowser(Browser.Firefox, "https://bugzilla.mozilla.org/show_bug.cgi?id=1422272")]

Callers

nothing calls this directly

Calls 4

WhereIsMethod · 0.80
IdMethod · 0.80
ClickMethod · 0.45
FindElementMethod · 0.45

Tested by

no test coverage detected