mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	fix(codegen): fallback to iframe[name/src] when failed to generate selector (#34030)
				
					
				
			This commit is contained in:
		
							parent
							
								
									512cb36c9b
								
							
						
					
					
						commit
						d4b2c966cf
					
				| @ -300,7 +300,6 @@ async function generateFrameSelectorInParent(parent: Frame, frame: Frame): Promi | |||||||
|       }, frameElement); |       }, frameElement); | ||||||
|       return selector; |       return selector; | ||||||
|     } catch (e) { |     } catch (e) { | ||||||
|       return e.toString(); |  | ||||||
|     } |     } | ||||||
|   }, monotonicTime() + 2000); |   }, monotonicTime() + 2000); | ||||||
|   if (!result.timedOut && result.result) |   if (!result.timedOut && result.result) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dmitry Gozman
						Dmitry Gozman