I am using python
, selenium
and other packages as per my need. I am creating GUI(Graphical User Interface) where it will show total number of people passes threw the gate.
we already have hardware which directly report to particular website which is written in php
and database are sql
and mariadb.
<span class="info-box-number f28 fc-666" id="tot_count">11</span>
This is the sample of code where, I want to capture '11' from this. I tried with 'id', 'class' and 'xpath' to capture this with .text
but so far I can't find the solution. I refer some other questions but it didn't help me.
- So, Idea is to create GUI interface which updates every second and show the number of people passes. I do have to get some other values with it which also, in similar format, same database with different class, id and xpath.
Note: All the class and ids are unique which I want to capture.
I am open to suggestion if someone has better idea, your suggestion would be appreciated.