Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Selenium WebDriver - Einführung
Search
Robert Moszczynski
January 04, 2016
Programming
0
100
Selenium WebDriver - Einführung
Eine kurze Einführung zu Selenium WebDriver.
Robert Moszczynski
January 04, 2016
Tweet
Share
More Decks by Robert Moszczynski
See All by Robert Moszczynski
Gitflow - Einführung
rmoszczynski
1
81
Other Decks in Programming
See All in Programming
まだ間に合う!Claude Code元年をふりかえる
nogu66
5
870
AIコーディングエージェント(skywork)
kondai24
0
190
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
150
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
1.4k
Cap'n Webについて
yusukebe
0
150
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
440
FluorTracer / RayTracingCamp11
kugimasa
0
240
SwiftUIで本格音ゲー実装してみた
hypebeans
0
470
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
1.6k
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
390
開発に寄りそう自動テストの実現
goyoki
2
1.3k
re:Invent 2025 のイケてるサービスを紹介する
maroon1st
0
150
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
100
Building an army of robots
kneath
306
46k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
400
Designing Powerful Visuals for Engaging Learning
tmiket
0
180
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.2k
Building Adaptive Systems
keathley
44
2.9k
It's Worth the Effort
3n
187
29k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.3k
Transcript
Selenium WebDriver Einführung Robert Moszczynski www.robertmoszczynski.com
Selenium WebDriver • Bibliothek zum Testen von Web- Anwendungen •
Für mehrere Sprachen portiert • WebDriver API integriert in Selenium 2.0 • Nutzt die native Browser API zur Automatisierung • Mehrere Browser Driver zu Auswahl • Unterstützung für Selenium Grid mit Selenium Server
Beispiel WebDriver driver = new FirefoxDriver(); driver.get("https://www.google.com"); WebElement element =
driver.findElement (By.name("q")); element.sendKeys("Cheese!"); element.submit(); System.out.println("Page title is: " + driver.getTitle());
Beispiel (new WebDriverWait(driver, 10)) .until(new ExpectedCondition<Boolean>() { public Boolean apply(WebDriver
d) { return d.getTitle().toLowerCase() .startsWith("cheese!"); } }); driver.quit();
Locators By.id(String id) By.name(String name) By.tagName(String name) By.linkText(String linkText) By.className(String
className) By.cssSelector(String selector) By.xpath(String xpathExpression) By.partialLinkText(String linkText)
Quellen und Links • http://www.seleniumhq.org/projects/webdriver/ • http://www.seleniumhq.org/docs/03_webdriver.jsp • http://seleniumhq.github.io/selenium/docs/api/java/ Präsentation
• https://speakerdeck.com/rmoszczynski • https://www.youtube.com/user/RobertMoszczynskiCom
Danke! Robert Moszczynski www.robertmoszczynski.com