11 lines
780 B
Plaintext
11 lines
780 B
Plaintext
### Result
|
|
{"inputWidth":192,"wrapperWidth":192,"controlWidth":1200}
|
|
### Ran Playwright code
|
|
```js
|
|
await (async page=>{await page.setViewportSize({width:1440,height:900});await page.goto('http://127.0.0.1:65019/');await page.getByRole('combobox',{name:'Тема'}).selectOption('light');await page.locator('#journal').scrollIntoViewIfNeeded();await page.screenshot({path:'/tmp/progcode-ds-designer0340/search-desktop-field.png'});return await page.locator('#search').evaluate(e=>({inputWidth:e.getBoundingClientRect().width,wrapperWidth:e.parentElement.getBoundingClientRect().width,controlWidth:e.closest('.catalog-controls').clientWidth}));}
|
|
)(page);
|
|
```
|
|
### Page
|
|
- Page URL: http://127.0.0.1:65019/
|
|
- Page Title: ProgCode — записки о программировании
|