Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -155,8 +155,8 @@ app.post('/ticketing', async (req, res, next) => { | ... | @@ -155,8 +155,8 @@ app.post('/ticketing', async (req, res, next) => { |
155 | //선택한 영화관에서, 선택한 일자에 상영하는 영화 목록 들고오기 | 155 | //선택한 영화관에서, 선택한 일자에 상영하는 영화 목록 들고오기 |
156 | const selected_movies_list = await driver_ticketing.wait(until.elementsLocated(By.css("#movie_list > ul > li > a > span.text"))); | 156 | const selected_movies_list = await driver_ticketing.wait(until.elementsLocated(By.css("#movie_list > ul > li > a > span.text"))); |
157 | const codes_of_selected_movies = await driver_ticketing.wait(until.elementsLocated(By.css("#movie_list > ul > li"))); | 157 | const codes_of_selected_movies = await driver_ticketing.wait(until.elementsLocated(By.css("#movie_list > ul > li"))); |
158 | - //const movie_enabled = await driver_ticketing.wait(until.elementsLocated(By.css("#movie_list > ul > li > a > span.sreader"))); | ||
159 | 158 | ||
159 | + //선택불가를 제외한 영화 제목 및 영화 코드 가져오기. | ||
160 | for(let i = 0; i < selected_movies_list.length; i++){ | 160 | for(let i = 0; i < selected_movies_list.length; i++){ |
161 | const movie_enabled = await codes_of_selected_movies[i].getAttribute("class") | 161 | const movie_enabled = await codes_of_selected_movies[i].getAttribute("class") |
162 | if(movie_enabled.endsWith("dimmed")) | 162 | if(movie_enabled.endsWith("dimmed")) | ... | ... |
-
Please register or login to post a comment