I want to calculate Size / Location of Elements in Appium Page Source.
i.e.
<android.widget.Button index="1" text="" class="android.widget.Button" package="com.samsung.shtvs.sbs.mobilerms" content-desc="Set Server IP" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[252,600][416,634]" resource-id="" instance="1"/>
I know bounds attribute contain size / location. but , which one is size [252,600] , location [416,634] ??
or vice versa ??
My requirement is i wrote some wrapper for page source. i want to convert this page in pure html page.
i.e. Button = <input type = 'button' style='top:'?px'; left:'?px'; width:'?px'; height:'?px';' text = 'Set Server IP' />
I tried with both size [252,600] , location [416,634] and location [252,600] , size[416,634] .
But , din`t get proper rendering.
Thanks in advance.