{"repo":"DetachHead/playwright-ui5","free":true,"listed":false,"github":"https://github.com/DetachHead/playwright-ui5","clone":"git clone https://github.com/DetachHead/playwright-ui5.git","description":null,"language":"TypeScript","stars":13,"topics":["playwright","sap","ui5"],"license":null,"category":"scrapers-browser-automation","readme_excerpt":"playwright ui5 playwright custom selector engines for sapui5 installation if using playwright for nodejs if using playwright for python see the playwright-ui5-select repo for usage instructions usage playwright-ui5 contains a selector engine for both css and xpath syntax. you can use whichever one you want, but the xpath one is more flexible since not all css selector syntax has been implemented yet. css selector engine syntax the main difference between regular CSS selectors and playwright-ui5's syntax is is that . is not used for class names, rather they are treated as part of the type name (ie. sap.m.Button ). feature examples suported notes ------------------- ---------------------------------------------------------- -------- --------------------------------------------------------------------------------------------------------------------------------------------- type selectors sap.m.Button , m.Button , ✔ class selectors n/a n/a as mentioned above, . is treated as part of the control type attribute selectors [text] , [text='foo'] , [text ='foo'] , [text ='foo'] ✔ = trims leading and trailing whitespace for the whole value instead of matching a whitespace-separated list of values like it does in CSS. id selectors sap.m.Button#foo ✔ you should not use id selectors if the id is generated (eg. button1 ) as they can change often nesting sap.m.Table sap.m.Button , sap.m.Table sap.m.Button ❌ use playwright selector nesting instead ( ui5=sap.m.Table ui5=sap.m.Button ) pseudo-c","default_branch":null,"files":null,"tree":[],"storefront":"/r/DetachHead","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DetachHead/playwright-ui5/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}