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
98
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
74
Other Decks in Programming
See All in Programming
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
740
Goで作る、開発・CI環境
sin392
0
200
NPOでのDevinの活用
codeforeveryone
0
760
dbt民主化とLLMによる開発ブースト ~ AI Readyな分析サイクルを目指して ~
yoshyum
3
670
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1.2k
ペアプロ × 生成AI 現場での実践と課題について / generative-ai-in-pair-programming
codmoninc
1
12k
関数型まつりレポート for JuliaTokai #22
antimon2
0
160
ソフトウェア品質を数字で捉える技術。事業成長を支えるシステム品質の マネジメント
takuya542
1
9.2k
WindowInsetsだってテストしたい
ryunen344
1
230
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
2
140
技術同人誌をMCP Serverにしてみた
74th
1
610
Discover Metal 4
rei315
2
120
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.4k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
940
The Cult of Friendly URLs
andyhume
79
6.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
5
240
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Embracing the Ebb and Flow
colly
86
4.7k
Faster Mobile Websites
deanohume
307
31k
BBQ
matthewcrist
89
9.7k
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