Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
前職でSeleniumで自動化していた 情シスが転職先でplaywright を触ってみたのでご紹介
Search
kato
April 04, 2024
450
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
前職でSeleniumで自動化していた 情シスが転職先でplaywright を触ってみたのでご紹介
kato
April 04, 2024
Transcript
35 slides
前職でSELENIUMで自動化していた 情シスが転職先でPLAYWRIGHT を触ってみたのでご紹介 YUSHI KATO ハッシュタグ #cm_sapporo_study
名前 : 加藤 裕士 居住地 : 札幌市 好きなサービス : CFn・CDK
趣味 : インテリア・音楽 収集 Hello, Everyone! DevTools JAWS-UG 配信部 AWS Multi-Region Comparison JAWS-UG CDK支部 JAWS-UG 札幌
お品書き こんな事 出来ちゃう selenium ? playwright ? 使い方
セレニウム? プレイライト? 聞いた事(使った事)ある?
SELENIUMとは “Selenium はブラウザー自動 化を可能にし、それを支える ツール群とライブラリー群プ ロジェクトです。”
色々あるよね
引用;https://googlechromelabs.github.io/chrome-for-testing/
「正常に動作させる為に 前準備が必要です。」
例えば前職での 私の場合、、、
None
https://florentbr.github.io/SeleniumBasic/
https://googlechromelabs.github.io/chrome-for-testing/
https://googlechromelabs.github.io/chrome-for-testing/
https://googlechromelabs.github.io/chrome-for-testing/
None
None
None
None
None
None
画像引用;https://techtarget.itmedia.co.jp/tt/news/1708/21/news01.html 画面の前にいる実行者になんらかの作業をさせる為の ユーザーフォームとの組み合わせも便利
こんな事してた ・Salesforce からCSV をダウンロードさせて すべてのお客様の申し込みを自動で行う ・お客様にお送りする書面に金額や名前等の データを含め印刷 ・OCR を使って読み取った文字列を Salesforce
レコードにインポート ・一文字置きにマスキングされたお客様名デ ータと直近の申込を突合してどの案件か判明 させる ・30 分おきにSalesforce から別のCRM にデー タを移す etc...
ちなみにデスクトップアプリを制御したい場合は HWND を取得して動かしていました。 ※ 例えばSalesforce Dataloader や 通信キャリア作成のアプリ等
PLAYWRITE??
None
None
None
None
None
None
None
None
$ npx playwright test tests/test.spec.ts --debug ステップイン実行やターゲットの取得も可能
None
THANK YOU!
More Decks by kato
See All by kato
OTelドキュメントの解説から 再学習するObservability用語や概念
yushikatoaws
1
230
re:Invent 参加してきたよ! CDKでAnthropic Claude 3 Sonnetを使ってSlackに最新Updateを要約通知してくれる What’s New Summary Notifier をデプロイしてチェックしてみる!
yushikatoaws
0
50
Let's relearn CFn Hooks,Guard,CCAPI After AWS re:Invnet 2024
yushikatoaws
0
68
JAWS-UG配信部〜発足からの歩みと感謝
yushikatoaws
0
62
Momentoが考える開発者の未来(前半)
yushikatoaws
1
2.2k
Momentoが考える開発者の未来(後半)
yushikatoaws
1
1.9k
Calling_Momento_API_with_Amazon_EventBridge_Destinations___Pipes.pdf
yushikatoaws
0
130
CloudFormationとCDKで Cloudflareリソースを 作成してみた
yushikatoaws
0
370
複数リージョン間で利用可能なAWSサービスを比較出来るWebアプリを作ってみた。
yushikatoaws
1
200
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
Embracing the Ebb and Flow
colly
88
5.2k
Product Roadmaps are Hard
iamctodd
55
13k
Statistics for Hackers
jakevdp
799
230k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
460
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
A designer walks into a library…
pauljervisheath
211
25k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k