-
Notifications
You must be signed in to change notification settings - Fork 0
XPaths
DopeforHope edited this page Aug 3, 2016
·
4 revisions
At first you have to be on https://isis.tu-berlin.de/my/index.php?mynumber=-2
That site shows all your courses.
##XPaths to Courses
Be on your main page.
Course-List: "//[contains(concat(' ', @class, ' '), 'course_list')]"
All courses from Course-List: ".//[contains(@id,'course')]"
Now find the only a element and get the attribute title and href for the course title and link.
##Xpaths to weeks and files
Be on the course page.
Week-List: '//*[@id="main"]/div/div/ul'
Weeks from Week-List: "//li"
To be continued....