**Hey everyone**

I am 15 years old and I'm currently making a python/selenium script that automatically loges in on my school page and goes in to see what homework i have tomorrow.

The way I want it to check if we have received homework is if the text box which is: "LB MAT 86" is something else (because that means we have received homework)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------

Let me now tell you about my problem:

Picture: <https://i.stack.imgur.com/WLjuR.png>

But first, let me tell u how my "homework page" is designed and works.

On the picture you see that I have inspected the text: "LB MAT 86".

* LB is the abbreviation of my teachers name.
* MAT stands for "matematik" with just means math in english.
* 86 is the class number our class have.

When we get homework our teacher deletes the text "LB MAT 86" and instead writes the homework we get.

My question for you is how can I find the text. The only way I can see how you can find the text is by its location.

The xpath of the text field: //\*[@id="sk-diary-notes-container"]/div/div[1]/div/table/tbody/tr[3]/td[3]/text()[1]

The full xpath of the text field: /html/body/div[1]/div[2]/div[3]/div[2]/div/div/div[1]/div/table/tbody/tr[3]/td[3]/text()[1]

OuterHTML:   LB MAT 86

Thanks