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で自動化していた 情シスが転職先でplaywright を触ってみたのでご紹介
Search
mjxo
April 04, 2024
0
170
前職でSeleniumで自動化していた 情シスが転職先でplaywright を触ってみたのでご紹介
mjxo
April 04, 2024
Tweet
Share
More Decks by mjxo
See All by mjxo
CloudFormationとCDKで Cloudflareリソースを 作成してみた
yushikatoaws
0
150
複数リージョン間で利用可能なAWSサービスを比較出来るWebアプリを作ってみた。
yushikatoaws
1
130
認知負荷って何_を知った上で再考する_CloudFormationからCDKへの移行
yushikatoaws
5
2k
AWS Resilience Hub Jaws-UG_asa #35
yushikatoaws
0
50
みんなで振り返りたい昨年末以降のアプデに対応したCFn側の設定~個人的Best3
yushikatoaws
0
150
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
A Modern Web Designer's Workflow
chriscoyier
689
190k
What’s in a name? Adding method to the madness
productmarketing
PRO
17
2.7k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
358
22k
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
4 Signs Your Business is Dying
shpigford
176
21k
Large-scale JavaScript Application Architecture
addyosmani
504
110k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
Transcript
前職で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!