Groups
Sign in
Groups
日本Seleniumユーザーコミュニティ
Conversations
Labels
About
Send feedback
Help
seleniumでtableのデータを取りたいが要素の中身がない
310 views
Skip to first unread message
あやさか
unread,
Apr 24, 2023, 5:54:40 AM
4/24/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本Seleniumユーザーコミュニティ
element
=
driver
.
find_element_by_class_name
(
"
u-mt-ss
"
).text
このようにすると
ALLERIA ZA7C-R49
529,980円(税込)
といったように値段が映るのですが、
tbody
=
elment
.
find_element_by_tag_name
(
"
tbody
"
).text
さらに、中に入る
GALLERIA ZA7C-R49
円(税込)
このように値段の部分が消えてしまいます。
なぜこうなってしまうのか教えていただきたいです。
Reply all
Reply to author
Forward
0 new messages