Fix(booking-job): Fixed payment button
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good
This commit is contained in:
@@ -506,7 +506,7 @@ func fillPassengerDetails(page *rod.Page, name string, gender string, passport s
|
||||
}
|
||||
|
||||
func choosePaymentKTMWallet(page *rod.Page) *rod.Page {
|
||||
creditCardButton := page.MustElement(".btn-ktmb-ewallet")
|
||||
creditCardButton := page.MustElement("#btnKtmbEWallet")
|
||||
creditCardButton.Eval(`this.click()`)
|
||||
page.MustWaitLoad()
|
||||
|
||||
@@ -514,7 +514,7 @@ func choosePaymentKTMWallet(page *rod.Page) *rod.Page {
|
||||
}
|
||||
|
||||
func choosePaymentCreditCard(page *rod.Page) *rod.Page {
|
||||
creditCardButton := page.MustElement(".btn-public-bank")
|
||||
creditCardButton := page.MustElement("#btnGoPaymentPublicBank")
|
||||
creditCardButton.Eval(`this.click()`)
|
||||
page.MustWaitLoad()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user