Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
110
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
82
Other Decks in Programming
See All in Programming
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
dchart: charts from deck markup
ajstarks
3
990
CSC307 Lecture 06
javiergs
PRO
0
680
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
5.9k
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
MUSUBIXとは
nahisaho
0
130
Basic Architectures
denyspoltorak
0
660
高速開発のためのコード整理術
sutetotanuki
1
380
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.8k
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
36k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
The SEO Collaboration Effect
kristinabergwall1
0
350
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
180
Agile that works and the tools we love
rasmusluckow
331
21k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
63
Leo the Paperboy
mayatellez
4
1.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
110
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