aaaaa
This commit is contained in:
parent
585d374140
commit
6dd4763cda
@ -719,7 +719,7 @@ class WindsurfRegister {
|
||||
|
||||
// 验证是否进入支付页面(检查是否有Stripe元素或支付表单)
|
||||
const hasPaymentForm = await this.page.$('button[data-testid="card-accordion-item-button"]').then(el => !!el).catch(() => false);
|
||||
const hasStripeCheckout = await this.page.url().then(url => url.includes('checkout.stripe.com')).catch(() => false);
|
||||
const hasStripeCheckout = this.page.url().includes('checkout.stripe.com');
|
||||
|
||||
if (hasPaymentForm || hasStripeCheckout) {
|
||||
logger.success(this.siteName, ' → ✓ 已进入支付页面');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user